#20636 [Opn->Fbk]: usage of header("") function causes blank entries in mysql
| From: | sniper@php.net | Date: | Tue, 26 Nov 2002 05:17:12 +0000 |
| Subject: | #20636 [Opn->Fbk]: usage of header("") function causes blank entries in mysql | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25828@lists.php.net to get a copy of this message | ||
ID: 20636
Updated by: sniper@php.net
Reported By: dan@supergeek.homelinux.org
-Status: Open
+Status: Feedback
Bug Type: MySQL related
Operating System: Linux Mandrake 9.0
PHP Version: 4.2.3
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-11-25 20:54:00] dan@supergeek.homelinux.org
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 this bug report at http://bugs.php.net/?id=20636&edit=1