#47404 [Opn->Bgs]: mysql_fetch_array
| From: | derick@php.net | Date: | Mon, 16 Feb 2009 11:54:00 +0000 |
| Subject: | #47404 [Opn->Bgs]: mysql_fetch_array | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-133872@lists.php.net to get a copy of this message | ||
ID: 47404
Updated by: derick@php.net
Reported By: jignasha_86 at yahoo dot co dot in
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: All
PHP Version: 5.2.9RC2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2009-02-16 11:49:15] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47404&edit=1