Re: Undefined Offset Error with Pagination and Sessions
| From: | Miller, Terion | Date: | Tue, 18 Aug 2009 17:19:02 +0000 |
| Subject: | Re: Undefined Offset Error with Pagination and Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296936@lists.php.net to get a copy of this message | ||
Formatted as PHP
http://pastebin.ca/1534058
and a note before I get chewed about the weird setting and unsetting at the top with the
sessions...because believe I see it...but if you take the unset() out..nothing works, I can't
figure that out and maybe that is a blatent thing I'm missing (prob) but I know that checking
if a sesion is set then immediately unsetting it is not logical, and I tried putting it like if
isset else unset but same results, nothing work all variables error'd out as undefined.
On 8/18/09 11:49 AM, "Miller, Terion" <tmiller@springfi.gannett.com> wrote:
Hi Folks, after days of trying lots of different things, I'm must grovel to
the list and post my problem...which is I am unable to get my pagination to
work, it seems to not carry the session to the next page and I get the
"undefined offset error"
The page code is posted here since my email client seems to mess up the code
formatting: http://pastebin.ca/1534024
Thanks to any and all who have a look.
Terion
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php