Re: MySQL Results Not Being Commited To Database
| From: | Torsten Roehr | Date: | Sat, 03 Jul 2004 19:00:34 +0000 |
| Subject: | Re: MySQL Results Not Being Commited To Database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189637@lists.php.net to get a copy of this message | ||
"Harlequin" <michael.mason@arraspeople.co.uk> wrote in message
news:20040703175215.33800.qmail@pb1.pair.com...
> I've managed with a lot of help to get the PHP pages to echo the results
of
> what a user put into a "User Registration" page. However, I'm still having
> trouble getting the code right to actually commit the data on the
> "Registered" page that the "Register" page points to.
>
> Can anyone help...?
>
> Code attached...
You don't call mysql_query() anywhere in your code! Add this line below the
line where you set $sql:
mysql_query($sql);
And you don't need quotes here:
mysql_select_db ("$dbase"); => mysql_select_db($dbase);
Regards,
Torsten Roehr