Re: Prob with insert into database

From: Date: Thu, 16 Nov 2000 22:46:02 +0000
Subject: Re: Prob with insert into database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25806@lists.php.net to get a copy of this message
Dear Sonya, Another possible solution: 2 is an int, but '2' is a string. ---------------------------------------------------------------- Matthew Leingang http://www.math.rutgers.edu/ Rutgers University leingang@math.rutgers.edu Department of Mathematics "This signature needs no quote." On Wed, 15 Nov 2000, Sonya Davey / QDCEL wrote: > Can anyone help with the following: > I would like to know what is wrong with the insert statement below, the > record is not getting posted to the database? > > $InsertControl = "INSERT INTO CONTROL(CODE, SERVERCODE) > VALUES ('2','AAA')"; > > $InsertClient_execute = ibase_query($InsertControl,$connection) > or die ("Couldn't execute query"); > > Thanks! > > --momcfjamaafpgfhmplpl > Content-Type: message/rfc822 > Content-Disposition: inline; filename="php-general_25458.ezm" >

« previous php.general (#25806) next »