jini01 Posted January 20, 2007 Share Posted January 20, 2007 # Server version: 4.1.21-standard# Protocol version: 10# Server: Localhost via UNIX socketError in query: DELETE * FROM reg_users_ads_images WHERE reg_users_ads_id = 17. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM reg_users_ads_images WHERE reg_users_ads_id = 17' at line 1All table names are right. It seems like something to do with version numbers etc. Whats the simplest way to fix it ? thanks Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 20, 2007 Share Posted January 20, 2007 You don't do DELETE * FROM, just DELETE FROM. Quote Link to comment Share on other sites More sharing options...
jini01 Posted January 20, 2007 Author Share Posted January 20, 2007 wow youre right. it worked.hmm I wonder why it would recognize "DELETE *" on certain scripts on server Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 20, 2007 Share Posted January 20, 2007 I doubt it's working on the other scripts. 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.