[PHP-DB] Virtual Tables

2003-02-16 Thread Philip Zee
In MySQL, I have noticed that you can't create a virtual table by using the following syntax: select * from (select * from table where agyID=1) where clnID=... Is this correct? Thanks for your time, Philip -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-DB] Web Page Caching

2003-02-16 Thread Philip Zee
Hello, I don't know if this is the right list to send this question to. It appears that the browser caches the result after a PHP page updates the database. I have to manually reload it in order to see the updates. Does anyone know how to overcome this? Thanks, Philip -- PHP Database

[PHP-DB] Using Objects with Databases

2003-01-21 Thread Philip Zee
Hello all, I am trying to create a class, say User. Each user has an entry in the database table called user. Each function, including the constructor, will be calling the database to do something. Is it better to initialize the database connection inside each function or is it better to

RE: [PHP-DB] Using Objects with Databases

2003-01-21 Thread Philip Zee
by a guy called marco talbini http://www.phparch.com/ Else lookup PEAR:MB or adodb library on teoma.com or similar. -Original Message- From: Philip Zee [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 22 January 2003 4:27 PM To: Subject: [PHP-DB] Using Objects with Databases Hello all, I

RE: [PHP-DB] Problem in the returnvalue of a function

2003-01-20 Thread Philip Zee
Your last line in the function returns True, which is 1 internally. This makes the function return 1 always. Philip -Original Message- From: rhelms@linux [mailto:rhelms@linux]On Behalf Of Ruprecht Helms Sent: Monday, January 20, 2003 3:37 AM To: [EMAIL PROTECTED] Subject: [PHP-DB]