Re: Re: session/mysql problems
| From: | Jason Wong | Date: | Fri, 02 Apr 2004 15:05:17 +0000 |
| Subject: | Re: Re: session/mysql problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182129@lists.php.net to get a copy of this message | ||
On Friday 02 April 2004 22:45, Andy B wrote:
> "Note: Superglobal arrays, like $_POST and $_GET, became available in PHP
> 4.1.0"
>
> so i remembered... had to try and port it backwards to fit the $HTTP_POST
> and $HTTP_SESSION vars but still didnt work... for some reason they arent
> going from page to page but got something else worked out for now in any
> case...
$HTTP_* aren't superglobals and are not available inside functions, so you
have to adjust your code accordingly.
Also it would help to make good use of mysql_error() after *each* call to the
mysql_*() functions.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
What fools these mortals be.
-- Lucius Annaeus Seneca
*/