thegod Posted May 29, 2007 Share Posted May 29, 2007 Parse error: parse error, unexpected T_VARIABLE, expecting '(' in /functions.php on line 231 $drop_bar =mysql_query("SELECT * FROM bar"); $tard_bar= mysql_query("SELECT * FROM bar");{ line 231 $per_bar = mysql_fetch_object(mysql_query("SELECT * FROM user_info WHERE username='$tard_bar->owner'")); thanks Quote Link to comment https://forums.phpfreaks.com/topic/53475-parse-error-parse-error-unexpected-t_variable/ Share on other sites More sharing options...
AndyB Posted May 29, 2007 Share Posted May 29, 2007 { what's that? Part of your code or .... Quote Link to comment https://forums.phpfreaks.com/topic/53475-parse-error-parse-error-unexpected-t_variable/#findComment-264304 Share on other sites More sharing options...
thegod Posted May 29, 2007 Author Share Posted May 29, 2007 yes but it closes aswel Quote Link to comment https://forums.phpfreaks.com/topic/53475-parse-error-parse-error-unexpected-t_variable/#findComment-264308 Share on other sites More sharing options...
trq Posted May 29, 2007 Share Posted May 29, 2007 It should not be there. Quote Link to comment https://forums.phpfreaks.com/topic/53475-parse-error-parse-error-unexpected-t_variable/#findComment-264311 Share on other sites More sharing options...
AndyB Posted May 29, 2007 Share Posted May 29, 2007 And why does it begin? Like Thorpe, I doubt it belongs there and its companion closing brace doesn't belong either. Quote Link to comment https://forums.phpfreaks.com/topic/53475-parse-error-parse-error-unexpected-t_variable/#findComment-264312 Share on other sites More sharing options...
thegod Posted May 29, 2007 Author Share Posted May 29, 2007 ok thanks i'll try that Quote Link to comment https://forums.phpfreaks.com/topic/53475-parse-error-parse-error-unexpected-t_variable/#findComment-264315 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.