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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eagle_z at 163 dot net
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC