From:             [EMAIL PROTECTED]
Operating system: Linux Mandrake 9.0
PHP version:      4.2.3
PHP Bug Type:     MySQL related
Bug description:  usage of header("") function causes blank entries in mysql

I have a script that checks $submit for a specific value.  If that value is
matched a record in a mysql db is updated and before anything is displayed
I use the header("Location:  my.php?variable=somethine");  When I use the
header function above the update statement, which occurrs before the
header function, updates all the fields listed in the query to be blank. 
Taking the header function out produces the desired results in the query. 


The source for this problem can be seen at
http://supergeek.homelinux.org/phpmywork/dropoff2.phps  

Thanks for reading this
-- 
Edit bug report at http://bugs.php.net/?id=20636&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20636&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20636&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20636&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20636&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20636&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20636&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20636&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20636&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20636&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20636&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20636&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20636&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20636&r=isapi

Reply via email to