ID: 14013
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: OCI8 related
Operating System: Linux 2.2, Solaris 2.6
PHP Version: 4.0.6
New Comment:

Erm, yeah, that's supposed to be '$id = 666;'.

Previous Comments:
------------------------------------------------------------------------

[2001-11-11 03:28:34] [EMAIL PROTECTED]

When inserting text using named binds, PHP will strip trailing spaces. The same query 
on the same database using the same Oracle client libraries. (All Oracle 8.1.6)

$db = ocilogon("u", "p", "sid");
$st = ociparse($db, "insert into test values (:id, :text)");
ocibindbyname($st, ":text", &$text, 2000);
ocibindbyname($st, ":id", &$id, 22);
$text = "  this line has spaces   ";
$node_id = 666;
ociexecute($st);


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14013&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to