[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Re: Interbase & PHP on RaQ4
- Subject: [cobalt-developers] Re: Interbase & PHP on RaQ4
- From: "Kal Amry" <kamry1888@xxxxxxxxx>
- Date: Sat Mar 10 00:51:06 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Check and see if the values in the Array are surrounded by ' (single
quotation). It might not be the problem but that what I see that it might
went wrong.... Also, make sure you are using this type of structure since
you are using a hash
$a = array(
"color" => 'red',
"taste" => 'sweet',
"shape" => 'round',
"name" => 'apple',
3 => 4
Hang on, how come you are using $form[address1] shouldn't you have a
quotation on Address1 such as "address1" or $address1 depending on your
situation...
Hope that helps...
Kal
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Jim Poe
Sent: Wednesday, March 07, 2001 9:18 AM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] Interbase & PHP on RaQ4
I have a PHP script that posts changes to an Interbase Database. It
used to work, but seems to have been broken - maybe by one of the Cobalt
updates that I installed. The script looks like this:
$prepared= ibase_prepare("update dealer
SET name=?,
address1=?, address2=?,
city=?, state=?,
zip=?, country=?,
phone=?, fax=?,
email=?, webaddress=?,
productline=?
where dealerid='$dealerid'");
ibase_execute($prepared,$form[name], $form[address1], $form[address2],
$form[city], $form[state], $form[zip],
$form[country],
$form[phone], $form[fax], $form[email],
$form[webaddress],
$form[prodline]);
The script is stopping after the prepare operation - no error that I can
tell, but I've placed phpinfo() commands in the script at various
places, and get nothing after the ibase_execute command.
Anyone have similar experiences of have a solution?
Thanks
Jim Poe
DSL Data Services L.C.
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com