s4salman Posted November 23, 2007 Share Posted November 23, 2007 i m getting error when running this code at 238 line : <?php <"img src=images/watermark.php?path=images/$picture">; ?> Parse error: syntax error, unexpected '<' in /home/wallpape/public_html/funny-pictures-details.php on line 238 I tried too much but getting error.please any body can help me. thanks Link to comment https://forums.phpfreaks.com/topic/78511-solved-little-bit-erorr-please-help/ Share on other sites More sharing options...
PHP_PhREEEk Posted November 23, 2007 Share Posted November 23, 2007 <?php echo "<img src=\"images/watermark.php?path=images/$picture\">"; ?> PhREEEk Link to comment https://forums.phpfreaks.com/topic/78511-solved-little-bit-erorr-please-help/#findComment-397294 Share on other sites More sharing options...
wsantos Posted November 23, 2007 Share Posted November 23, 2007 Play with it...try echo "<img src=images/watermark.php?path=images/$picture>"; OR echo "<img src=images/watermark.php?path=images/" . $picture . ">"; OR echo "<img src=\"images/watermark.php?path=images/$picture\">"; Link to comment https://forums.phpfreaks.com/topic/78511-solved-little-bit-erorr-please-help/#findComment-397296 Share on other sites More sharing options...
s4salman Posted November 23, 2007 Author Share Posted November 23, 2007 thanks for great help.problem resolved. Link to comment https://forums.phpfreaks.com/topic/78511-solved-little-bit-erorr-please-help/#findComment-397307 Share on other sites More sharing options...
wsantos Posted November 23, 2007 Share Posted November 23, 2007 Please click "TOPIC SOLVED" Link to comment https://forums.phpfreaks.com/topic/78511-solved-little-bit-erorr-please-help/#findComment-397325 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.