php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1929 Warning: SQL error: [Microsoft][ODBC Microsoft Access 97 Driver]
Submitted: 1999-07-30 09:51 UTC Modified: 1999-10-03 06:46 UTC
From: eagle_z at 163 dot net Assigned:
Status: Closed Package: ODBC related
PHP Version: 3.0.11 OS: NT + IIS4
Private report: No CVE-ID: None
 [1999-07-30 09:51 UTC] eagle_z at 163 dot net
<?
$DBID=odbc_connect("cu", "username", "password");
odbc_exec($DBID, "INSERT INTO cu (name, content) VALUES('zzm|','abc')");
?>

System: winnt4 + IIS4 + php3 + ODBC + ACCESS97 
if the VALUES contain symbol "|", error will occur.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-03 06:46 UTC] kara at cvs dot php dot net
Probably you have to escape |?

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC