Date: 10/28/99
- Next message: Shawn Patton: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Previous message: Mark Walter: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] Problem with page_close..."
- Reply: Kristian Koehntopp: "Re: [PHPLIB] Problem with page_close..."
- Reply: Manuel Hossfeld: "Re: [PHPLIB] Problem with page_close..."
- Reply: Teodor Cimpoesu: "Re: [PHPLIB] Problem with page_close..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
I have a page which pretty much looks like this:
page_open("sess"=>"My_Session", "auth"=>"My_Auth");
<< HTML CONTENT >>
page_close();
Works fine. (Remark: The session and auth info are stored in a MySql
database called
"MY_AUTH").
Now I try this:
page_open("sess"=>"My_Session", "auth"=>"My_Auth");
$data_db = new MY_DATA;
$data_db->query(...);
<< HTML CONTENT >>
page_close();
Now page_close() gives me an MySql error. Saying that the DATABASE
"MY_DATA" does not contain a table called "active_sessions". And yes,
that is true. But I want it to use the active_sessions table in the
"MY_AUTH" database. And that works fine as long as I don't mention
MY_DATA anywhere.
Any clues???
Thanks,
Andre
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.
- Next message: Shawn Patton: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Previous message: Mark Walter: "Re: [PHPLIB] PHPLIB-Warning: Variable passed to reset() is not an array"
- Next in thread: Kristian Koehntopp: "Re: [PHPLIB] Problem with page_close..."
- Reply: Kristian Koehntopp: "Re: [PHPLIB] Problem with page_close..."
- Reply: Manuel Hossfeld: "Re: [PHPLIB] Problem with page_close..."
- Reply: Teodor Cimpoesu: "Re: [PHPLIB] Problem with page_close..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

