View Single Post
Old 05-03-2005, 10:08 PM   #25 (permalink)
BUFFY
Registered User
 
Join Date: May 2005
Posts: 29
BUFFY is on a distinguished road
Ok, changed the INSERT code to:

PHP Code:
$sql "INSERT INTO customer SET
title='$title',
firstname='$firstname',
lastname='$lastname',
username='$username',
password='$password',
suburb='$suburb',
city='$city',
phonenumber='$phonenumber',
dob='$dob'"
;

$result mysql_query($sql); 
Which resulting in getting the message "Thank you! Information entered."
So checked my database and its added a new row with autonumber id 2 (second record in database) but the rest of the feilds are blank.
BUFFY is offline   Reply With Quote