Re: SoS
| From: | Jason Godesky | Date: | Mon, 06 Oct 2003 01:38:51 +0000 |
| Subject: | Re: SoS | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30863@lists.php.net to get a copy of this message | ||
if the statement "if (isset($id)) doesn't probably it because register_globals has been turned off maybe? How about "if (isset($_GET["id"]))" ?And if you want to keep the flexibility of getting the variable from anywhere, you can always use if ((isset($_GET["id"]))||(isset($id)))--that would cover query strings, and the case of any possible includes. -- Jason Godesky jason@tribaldawn.com http://www.tribaldawn.com/jason/