Re: [PHP-DB] data is not entering in created database

2004-12-26 Thread Bastien Koert
error check it mysql_query(INSERT INTO totalinfo (Username,Password) VALUES ('$loginusername','$loginpassword'))or die (mysql_error()); bastien From: amol patil [EMAIL PROTECTED] To: graeme [EMAIL PROTECTED],Jochem Maas [EMAIL PROTECTED], php-db@lists.php.net Subject: Re: [PHP-DB] data

Re: [PHP-DB] data is not entering in created database

2004-12-25 Thread amol patil
hallo, this was working well , submit is evaluating true, no errors, but now data is not shown in databse table ?php if($submit) { $dbh=mysql_connect (localhost, root) or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db (dollar1_allinfo);

[PHP-DB] data is not entering in created database

2004-12-24 Thread amol patil
hallo , i have wriiten simple php script , below. created databse dollar1_allinfo with table 'totalinfo' but on clicking submit button , information entered is not entering in database. also, echo statements are also not displaying after submit ?php if ($submit) { $db =

Re: [PHP-DB] data is not entering in created database

2004-12-24 Thread graeme
I suspect that your $submit is not set up, try the following echo statements before the if statement: echo --$submit--; echo --$_POST[submit]--; amol patil wrote: hallo , i have wriiten simple php script , below. created databse dollar1_allinfo with table 'totalinfo' but on clicking submit

Re: [PHP-DB] data is not entering in created database

2004-12-24 Thread Mike S.
hallo , i have wriiten simple php script , below. created databse dollar1_allinfo with table 'totalinfo' but on clicking submit button , information entered is not entering in database. also, echo statements are also not displaying after submit ?php if ($submit) { $db =