View Single Post
  #2 (permalink)  
Old 05-01-2008, 06:42 PM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 10,865
Last Blog:
PHP Security: Temporar...
Credits: 1
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
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?

Instead of mysql_query($query); try:

PHP Code:
mysql_query($query) or die('Error in query: '.$query.' : '.mysql_error($connection)); 

and see if MySQL throws an error.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!

Last edited by Jordan; 05-01-2008 at 06:46 PM.
Reply With Quote