Re: [PHP-DB] MySQL Session

2003-07-27 Thread Matthew
Here's how I do it using functional PHP programming (you may prefer using OO PHP which I don't bother with) : I include a generic functions file in each page. You could take it further, opening and closing the database connection for every query, but this way is more efficient if more than open qu

RE: [PHP-DB] MySQL Session

2003-07-27 Thread Peter Lovatt
Hi welcome to php :) in general you can use an include at the beginning of each page -Original Message- From: Morten Twellmann [mailto:[EMAIL PROTECTED] Sent: 27 July 2003 13:01 To: [EMAIL PROTECTED] Subject: [PHP-DB] MySQL Session I have just recently entered the world of PHP and