PDA

View Full Version : PHP: need a little help



AndreVR
March 17th, 2002, 20:17
Hey.. what's wrong with this code?



print "Foto: $photo<br>
Mostrar foto: <img scr=\"$photo\">"
;


The variable $photo I see printed... it's OK!.. But the GIF doesn't show!!

Whar's wrong?
:confused2

invalid
March 17th, 2002, 20:31
<?
echo "
Foto: $photo <br>
Mostrar foto: <img src=\"$photo\" />
";

?>

you put scr where you should have put src