Forum Moderators: coopster

Message Too Old, No Replies

Insert Into Query

         

Flolondon

6:40 pm on Mar 22, 2006 (gmt 0)

10+ Year Member



$query = "INSERT INTO `breadreg` ( name` , `address` , `email` , `telephone` , `comments` , `deliverytime` , `bread` )
VALUES (
'$name', '$address', '$email', '$telephone', '$comments', '$deliverytime', '$bread',);";

what have i done wrong now...please help.

ChadSEO

6:44 pm on Mar 22, 2006 (gmt 0)

10+ Year Member



Looks like you're missing the accent before name:

$query = "INSERT INTO `breadreg` ( `name` , `address` , `email` , `telephone` , `comments` , `deliverytime` , `bread` )
VALUES (
'$name', '$address', '$email', '$telephone', '$comments', '$deliverytime', '$bread',);";

Chad

Flolondon

6:48 pm on Mar 22, 2006 (gmt 0)

10+ Year Member



thanks chad