Chetan Graham wrote:
Hi to All,

I am having problems with the MySQL DB.  It started with this command from
a call in a PHP script...

"INSERT INTO docprouser (id,valid,password)VALUES
('user5','Y',md5('ksobhinyai'));" or die(mysql_error());"

That doesn't do anything (it will create a parse error).

You need to:

mysql_query("INSERT INTO docprouser (id,valid,password) VALUES( 'user5','Y',md5('ksobhinyai'))") or die(mysql_error());

Postgresql & php tutorials

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to