"Jay Blanchard" <[EMAIL PROTECTED]> wrote in 
news:[EMAIL PROTECTED]:

> register globals is off, so all of your variables are in the POST array
> 
> $_POST['first']
> $_POST['last']
> 
> etc. Replace all your variable references with the appropriate array
> references and you'll be off to the races.
>
Jay:

I edited the insert.php file and changed the $query line from what was 
previously posted to that below (all one line):

$query = "INSERT INTO Contacts VALUES ('','$_POST[first]','$_POST
[last]','$_POST [phone]','$_POST[mobile]','$_POST[fax]','$_POST
[email]','$_POST[web]')";

This works like the article says it should.

Thank you for your help.

-- 
Frank Hahn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to