note 40599 added to function.ocibindbyname

From: Date: Tue, 09 Mar 2004 10:32:01 +0000
Subject: note 40599 added to function.ocibindbyname
Groups: php.notes 
Request: Send a blank email to php-notes+get-66479@lists.php.net to get a copy of this message
If you get ora-01460 you might want to check whether the OCIBindByName was done with -1 on a date field, which on bind time (not execute time) was bound to a php variable with size 0. (e.g.: $var=""; bind var to date with length -1; loop; $var=realdate; execute will give ora-01460 -> unreasonable or unimplemented conversion). Changing the initial $var to a good length, or do the bind with the right size of your date in string format representation instead of -1 will solve it. ---- Manual Page -- http://www.php.net/manual/en/function.ocibindbyname.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40599 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40599&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40599&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66479) next »