Jump to content

[SOLVED] Should be easy but not. PHP / MYSQL


paulman888888

Recommended Posts

Hi people,

 

Heres the code

$query="INSERT INTO `list_members` (`username`, `password`, `email`, `dob`, `userlevel`, `userable`)
VALUES ('$username', '$password', '$email', '$dob', 1, 1)";
///// end add user
$rtytr=mysql_query($query);

 

It should work but it doesn't.

When i test it with

if($sql=false){ die('Error Putting data in.');}

 

It doesn't die or put the data in.

 

Please Help

Paul

Link to comment
https://forums.phpfreaks.com/topic/153133-solved-should-be-easy-but-not-php-mysql/
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.