View Single Post
  #16 (permalink)  
Old 05-05-2008, 07:26 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Age: 26
Posts: 5,857
Last Blog:
Performance or Maintai...
Rep Power: 20
Jordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud ofJordan has much to be proud of
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: query wont insert?

Quote:
Originally Posted by John View Post
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:
The argument is optional and should be the MySQL resource Link ID:

PHP Code:
string mysql_error     ([ resource $link_identifier   ] ) 
PHP: mysql_error - Manual
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
Don't hesitate to ask any questions that you have! Check out our ASCII Calculator!
Reply With Quote