Re: query order issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/20/2013 12:21 PM, dealTek wrote:
Hi all,


I have a page that starts with several mysql sql query searches and displays data below...

then I added a form (with hidden line "do-update" value "UPDATE") on the same page with action to same page...


then above other sql queries - I put...

if ((isset($_POST["do-update"])) && ($_POST["do-update"] == "update")) {

---do update query---

echo '<meta http-equiv="refresh" content="0; url=gohere.php">';

}

but it shows error that happens AFTER the meta http-equiv="refresh" has happened


Catchable fatal error: xxx on line 226



BTW - the meta http-equiv="refresh" does work but the error flashes 1st for a second...

Q: I would have thought that it would not go past the line - meta http-equiv="refresh" - but it does.... any insight on this






--
Thanks,
Dave - DealTek
dealtek@xxxxxxxxx
[db-3]


YOu are checking for a value of 'update' but you stated that the value clause was 'UPDATE'
	

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux