justAnoob Posted December 22, 2009 Share Posted December 22, 2009 Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING image0.src ="<?php echo "$row['imgpath2']" ?>" Link to comment https://forums.phpfreaks.com/topic/185973-help-with-one-small-line-of-code-please/ Share on other sites More sharing options...
trq Posted December 22, 2009 Share Posted December 22, 2009 Firstly, this is a php error so your question probably should go in php help. Secondly, there is nothing explicitly wrong with that code, it should be.... image0.src ="<?php echo $row['imgpath2']; ?>" but it shouldn't be throwing an error either way. Link to comment https://forums.phpfreaks.com/topic/185973-help-with-one-small-line-of-code-please/#findComment-982042 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.