From:             jignasha_86 at yahoo dot co dot in
Operating system: All
PHP version:      5.2.9RC2
PHP Bug Type:     MySQL related
Bug description:  mysql_fetch_array

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 bug report at http://bugs.php.net/?id=47404&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=47404&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=47404&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=47404&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=47404&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=47404&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=47404&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=47404&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=47404&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=47404&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=47404&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=47404&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=47404&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=47404&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=47404&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47404&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47404&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=47404&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=47404&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=47404&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=47404&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=47404&r=mysqlcfg

Reply via email to