defeated Posted August 6, 2009 Share Posted August 6, 2009 1002: mysql_query("INSERT INTO job_tags 1003: (jobref_id,tag_id) 1004: VALUES 1005: ('$jobref_id','$tag_id')") or die mysql_error()); Getting an unexpected T_STRING error on line 1005 Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted August 6, 2009 Share Posted August 6, 2009 The or die(...) is missing the ( And the error is a php syntax error and is not directly anything to do with mysql. Quote Link to comment Share on other sites More sharing options...
defeated Posted August 6, 2009 Author Share Posted August 6, 2009 aaarrrrgggghhhh! Thanks. Been staring at it for 10 mins! 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.