Fw: [PHP] Prob with insert into database
| From: | Jason Lavigne | Date: | Thu, 16 Nov 2000 03:46:05 +0000 |
| Subject: | Fw: [PHP] Prob with insert into database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-25458@lists.php.net to get a copy of this message | ||
The table names and field names are case sensitive, are you sure that is the
not the case. Also check if your connect is being done. Last are you using
PostGres with PHP 4.0.3? If so I have had nothing but troubles with 4.0.3,
but 4.0.1 works fine.
Jay
----- Original Message -----
From: "Sonya Davey / QDCEL" <SonyaD@PQAfrica.co.za>
To: <php-general@lists.php.net>
Sent: Wednesday, November 15, 2000 10:14 AM
Subject: [PHP] Prob with insert into database
> 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!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>