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 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 .... 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 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. 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. 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 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
Archived
This topic is now archived and is closed to further replies.