Jump to content

[SOLVED] Warning: mysql_query();


Stickybomb

Recommended Posts

i am getting an error when trying to add a user to my database

 

the error:

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource

 

this is the call for the statment:

$db->query('INSERT INTO users (user_pass, user_name, user_lvl, user_email, user_timestamp, user_sid, user_ip) VALUES ("'.$pass.'","'.$user.'","1",,"'.$email.'","'.$time.'","'.$sid.'","'.$ip.'")');

 

 

i do not see whats causeing the poblem

Link to comment
https://forums.phpfreaks.com/topic/72655-solved-warning-mysql_query/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.