php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15104 wrong interpretation
Submitted: 2002-01-18 12:40 UTC Modified: 2002-01-18 14:16 UTC
From: firmasilkworm at hotmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.0.5 OS: Linux/Unix
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: firmasilkworm at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-01-18 12:40 UTC] firmasilkworm at hotmail dot com
The version of the php is 4.04.1!
Operating system: Unix

1)
A string including "'", example: "Marcellino's products" is typed in and submitted by the user into a table in MySql (version 3.23.32) with the command "INSERT".

2)
Only in case of updating the line with the command "UPDATE",
PHP sometimes understands the "'" as a part of the code and not as string and dies!

This was also tested on the Windows2000 Prof. with APACHE server and PHP but no problem was detected.

I do not know if it is a bug or not but in any way I would be glad to recieve an answer from you.



Thanks

Hatamy

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-18 14:16 UTC] sander@php.net
You are doing something wrong with " and '. Ask further support questions on the appropriate mailinglist.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat May 10 23:01:29 2025 UTC