Bug #1276 Updated: OCIBindByName with DATE variable -> error
| From: | Bug Database | Date: | Mon, 05 Apr 1999 16:20:32 +0000 |
| Subject: | Bug #1276 Updated: OCIBindByName with DATE variable -> error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4926@lists.php.net to get a copy of this message | ||
ID: 1276
User Update by: steffenmail@writeme.com
Status: Assigned
Bug Type: Oracle related
Description: OCIBindByName with DATE variable -> error
OK, the problem seems to appear when I try to insert an empty value into a table. When I do
OCIBindByName($stmt,":vorname",&$vorname, 20);
and $vorname is "" then PHP says:
Warning: OCIStmtExecute: ORA-01480: trailing null missing from STR bind value in
/www/e-shirt.de/htdocs/bestellung4.phtml on line 80
How can I insert empty values? Or do I have to check on every value if it's empty?
Thanks in advance,
- Steffen
Full Bug description available at: http://bugs.php.net?id=1276
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net