List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:October 25 2000 9:32pm
Subject:Re: Insert?
View as plain text  
At 4:43 PM -0400 10-25-2000, Wee Chua wrote:
>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')";

What does mysql_error() return after you issue the statement?


>Thanks,
>Calvin


-- 
Paul DuBois, paul@stripped
Thread
Insert?Wee Chua25 Oct
  • Re: Insert?Paul DuBois25 Oct
  • Re: Insert?Matt26 Oct
  • Re: [PHP] Re: Insert?Brian T. Allen26 Oct