[PHPLIB] Problem with page_close... From: Andre Eisenbach (andre <email protected>)
Date: 10/28/99

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.