[PHP-DEV] Bug #1276 Updated: OCIBindByName with DATE variable -> error From: Bug Database (php-dev <email protected>)
Date: 04/05/99

ID: 1276
User Update by: steffenmail <email protected>
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 <email protected>
For help: php-dev-help <email protected>