ElectroFusion Grandmaster Cheater
Reputation: 0
Joined: 17 Dec 2006 Posts: 786
|
Posted: Mon Jul 07, 2008 4:24 pm Post subject: You have an error in your SQL syntax; check the manual that |
|
|
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 'by, description, link, date, section) VALUES ('eoeeo', 'admin', 'rroroorore', 'e' at line 1
Looks right:
mysql_query("INSERT INTO landon_tutshack.pending (title, by, description, link, date, section) VALUES ('".$_POST['title']."', '".$_SESSION['username']."', '".$_POST['description']."', '".$_POST['link']."', 'Today', '".$_POST['section']."')") OR die(mysql_error());
_________________
| qwerty147 wrote: |
| ghostonline wrote: |
what world are you in?
|
bera
but i live in NZ
|
|
|