Re: Undefined Offset Error with Pagination and Sessions
| From: | Shawn McKenzie | Date: | Tue, 18 Aug 2009 17:44:29 +0000 |
| Subject: | Re: Undefined Offset Error with Pagination and Sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296937@lists.php.net to get a copy of this message | ||
Miller, Terion 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
>
First off the $_SESSION array doesn't exist because you haven't started
the session with session_start().
--
Thanks!
-Shawn
http://www.spidean.com