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']" ?>" Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.