pietbez Posted July 19, 2008 Share Posted July 19, 2008 im stupid! help please! Parse error: syntax error, unexpected T_STRING in /home/clipkcom/public_html/includes/test.php on line 3 <?php include('dbconect.php'); $query = mysql_query("SELECT * FROM config") or die("Query failed: ." mysql_error()); ?> Link to comment https://forums.phpfreaks.com/topic/115588-solved-syntax-error/ Share on other sites More sharing options...
tronicsmasta Posted July 19, 2008 Share Posted July 19, 2008 include('dbconect.php'); $query = mysql_query("SELECT * FROM config") or die("Query failed: ".mysql_error()); the . has to be after the " Link to comment https://forums.phpfreaks.com/topic/115588-solved-syntax-error/#findComment-594210 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.