Re[6]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Stuart Dallas
On Saturday, June 1, 2002 at 6:00:22 PM, you wrote: > $query = "INSERT INTO friends (id, firstname, surname) values >(nextval('friends_id_seq'), ".$_POST['firstname'].", ".$_POST['surname'].")"; It's so obvious you're gonna kick yourself (I did!). You need to enclose the two values in quotes, li

Re[6]: [PHP] value passing from html form to php variable.

2002-06-01 Thread Stuart Dallas
On Saturday, June 1, 2002 at 5:37:37 PM, you wrote: > Sorry. > I restared apache and php.ini came into effect. If you're going to run with register_globals on you should make sure you understand the implications: http://www.php.net/manual/en/security.registerglobals.php. -- Stuart -- PHP Ge