Re: Undefined Offset Error with Pagination and Sessions
| From: | Ralph Deffke | Date: | Tue, 18 Aug 2009 17:53:27 +0000 |
| Subject: | Re: Undefined Offset Error with Pagination and Sessions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-296939@lists.php.net to get a copy of this message | ||
by having a quick look on it, u have to work on a session base? otherwise it
could be done by the post data only. I'm trying to avoid to work on the
session, because it makes live a bit easier. if u can try.
I'm telling this, because as u metioned to unset the session stuff is wierd
and I wouldn't trust the session vars any more anyway.
ralph_deffke@yahoo.de
""Miller, Terion"" <tmiller@springfi.gannett.com> wrote in message
news:C6B04CB6.49E1%kmiller13@springfi.gannett.com...
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