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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC