php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47404 mysql_fetch_array
Submitted: 2009-02-16 11:49 UTC Modified: 2009-02-16 11:53 UTC
From: jignasha_86 at yahoo dot co dot in Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.2.9RC2 OS: All
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jignasha_86 at yahoo dot co dot in
New email:
PHP Version: OS:

 

 [2009-02-16 11:49 UTC] jignasha_86 at yahoo dot co dot in
Description:
------------
When we allow < > in data from user, that will inserted correctly
in database,Even running query manually will give correct results
and fetching data, but when we do it with mysql_fetch_array
function, It will give blank data in between < > brackets

Reproduce code:
---------------
If $data = "This is < testing > data";
Insert this string as one field of database 
It will get inserted correctly,when we fetch
using any MySQL feching function like mysql_fetch_array or
mysql_fetch_row, it will be like
"This is data";
Eliminating < > and data in between that brackets


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-16 11:53 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Tip: Do a \"view source\" in your browser.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC