ident Posted September 15, 2009 Share Posted September 15, 2009 I only started messing with php last night so no next to nothing echo '<img src="'$pic' "width="150" height="150" /><br />'; I'm displaying a random image Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /var/www/simplecoders.com/htdocs/Upload.php on line 80 Quote Link to comment Share on other sites More sharing options...
Bricktop Posted September 15, 2009 Share Posted September 15, 2009 Hi ident, You're missing the closing " on the img src. Change your code to: echo '<img src="'.$pic.'" "width="150" height="150" /><br />'; Quote Link to comment Share on other sites More sharing options...
ident Posted September 15, 2009 Author Share Posted September 15, 2009 nice 1 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.