html - php space error when - but when i hit f12 and look at page there are no spaces, but if i look at the console it has spaces when it sends the URL -
I have an image that I bring with a php file ...
here It shows that when I hit f12 and see the page ...
;
Although this is failing and on the console page
the resource is interpreted as Image, but with the mime type text / html Has been moved: "http: /webpage.com/php_scripts/getimage.php?id=%27389955c8-4fc6-4596-a308-0345283c4812%27&type=2".
P>
& Lt; Div id = "companylogo" & gt; & Lt; Img src = "php_scripts / getimage.php? Id = '& gt; php echo $ cardUUID? & Gt;' & Amp; Type = 2 "alt =" card image "height =" 100 "width =" 200 "/> & Lt; / Div & gt; If I do var_dump ($ cardUUID) then there is no space in it
>
Are you sure that this is done with vacancy and not a single quote?
Try this:
& lt; Div id = "companylogo" & gt; & Lt; Img src = "php_scripts / getimage.php? Id = & lt ;? php $ cardUUID? & Gt; type = 2" alt = "card image" height = "100" width = "200" /> ; & Lt; / Div & gt;
Comments
Post a Comment