Date: 07/20/00
- Next message: Eric Ries: "[phplib] Metadata"
- Previous message: layne <email protected>: "RE: [phplib] active_session question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm trying to make a "query" object that holds relevant information for a
query (tables, join paramaters, where clauses, etc...) along with functions
to modify the query (add another field to the query, etc...). My probelm is
that it dosn't seem to stay registered. i do the following:
GLOBAL $testquery;
$testquery = new Query;
$testquery->init(testquery); //init sets classname = it's arguement and a
few other things
$sess->register("testquery);
but if i reload the page (keeping the session) isset($testquery) and
$sess->is_registered("testquery") both return false... I think my problem is
that i don't really understand what I'm supposed to do wiht the
persistant_slots variable - i set it to $this->persistant_slots =
array("data_array1", "data_array2", ...); - should i have put all the member
functions in as well? am i totally wrong?
I also get "Warning: Variable passed to reset() is not an array or object in
on line 22" from someting when page_close() is called which makes me thing
it's not serializing correctly...
tia,
Nathaniel Grady
gradynk <email protected>
Ph 301-744-4583 Ext. 231
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Eric Ries: "[phplib] Metadata"
- Previous message: layne <email protected>: "RE: [phplib] active_session question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

