Date: 04/05/99
- Next message: kenford <email protected>: "[PHP-DEV] Bug #1291: fsockopen"
- Previous message: Cruz, Miguel (OD): "[PHP-DEV] Building PHP3 on NT: language-scanner.lex"
- Next in thread: Bug Database: "[PHP-DEV] Bug #1276 Updated: OCIBindByName with DATE variable -> error"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #1276 Updated: OCIBindByName with DATE variable -> error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: kenford <email protected>: "[PHP-DEV] Bug #1291: fsockopen"
- Previous message: Cruz, Miguel (OD): "[PHP-DEV] Building PHP3 on NT: language-scanner.lex"
- Next in thread: Bug Database: "[PHP-DEV] Bug #1276 Updated: OCIBindByName with DATE variable -> error"
- Maybe reply: Bug Database: "[PHP-DEV] Bug #1276 Updated: OCIBindByName with DATE variable -> error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

