View Single Post
  #14 (permalink)  
Old 05-03-2008, 12:58 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 19
Posts: 2,791
Last Blog:
Passwords
Rep Power: 20
John has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud of
Send a message via AIM to John
Default Re: query wont insert?

1) mysql_error() does not expect an argument [Jordan's fault]
PHP Code:
mysql_error($connection
After removing $connection, I was then able to see an error:

2) You had an extra comma before WHERE
PHP Code:
lastupdated='$date'WHERE 
I was confident that would fix the problem, but it didn't...

3) So I just but backticks around all your table id's and spaced them properly and it worked....
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Reply With Quote