Date: 09/15/00
- Next message: Rex Byrns: "RE: [phplib] Re: Using sqlguery.inc"
- Previous message: messju mohr: "Re: [phplib] php errors with inclution"
- Next in thread: Rex Byrns: "RE: [phplib] Re: Using sqlguery.inc"
- Reply: Rex Byrns: "RE: [phplib] Re: Using sqlguery.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oh, that's probably because sqlquery.inc uses session variables to hold
the "size" of its query form. So when you go to another page in the same
session, PHP tries to recover the sqlquery form, and since you're not
including sqlquery.inc anymore, it doesn't know how.
To work around...um...the simplest solution is to put sqlquery.inc in the
prepend file. Yes, then it will be read all the time and unecessarily so.
You can't count on the user to click something that would destroy the
session variable, though.
--Matt
----------------------------------------------------------------
Matthew Leingang http://www.math.rutgers.edu/
Rutgers University leingang <email protected>
Department of Mathematics "This signature needs no quote."
On Thu, 14 Sep 2000, Rex Byrns wrote:
> I don't know if this is a bug or not but I finally broke down and decided to
> play with this class so I used the example from the documentation. It
> worked great, but when I went to any other page that uses authentication or
> sessions, it said that sql_query was not a class. (of course these other
> pages were not including the file). Does this mean that if whatever you
> want to include, you have to include everywhere or you get errors?
>
> Thanks
> Rex
>
>
> [ Part 14: "Included Message" ]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Rex Byrns: "RE: [phplib] Re: Using sqlguery.inc"
- Previous message: messju mohr: "Re: [phplib] php errors with inclution"
- Next in thread: Rex Byrns: "RE: [phplib] Re: Using sqlguery.inc"
- Reply: Rex Byrns: "RE: [phplib] Re: Using sqlguery.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

