Re: Insert?

From: Date: Thu, 26 Oct 2000 00:41:42 +0000
Subject: Re: Insert?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21982@lists.php.net to get a copy of this message
If ID is an autoincrement, the following would be better: "INSERT INTO PhoneType (Type) Values('Business')"; ----- Original Message ----- From: "Wee Chua" <Chua@mail.interclean.com> To: "MySQL (E-mail)" <mysql@lists.mysql.com>; "PHP (E-mail)" <php-general@lists.php.net> Sent: Wednesday, October 25, 2000 4:43 PM Subject: Insert? > Hi all, > What is the correct syntax for inserting statement for PHP? Is anything > wrong with this statement? > > $addsmt = "INSERT INTO PhoneType (ID,Type) > Values('1','Business')"; >

« previous php.general (#21982) next »