Well it was acutally so that I can create a content management system for my
employer.  Another gentleman helped me with it and it is working great I
simply created a file *.php with all my connection commands then did a
require on the page(s) that needed to query the db to pull information about
what is currently inserted into different fields.  My NEW problem has to do
with getting my INSERT statements to overwrite the distinctive fields when
storing updates etc.  I am looking into how to accomplish this at the
moment.  Sorry again for posting the same question a few times, it seems my
email editor choked.  =)  Thanks again.
Jas
"Rick Emery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> huh?????
>
> You open the connection once for the page and then you CAN make multiple
> queries to it from the same page.  Why are you trying to create a class to
> do this (unless it's simply an intellectual exercise to create a class)?
>
>
> -----Original Message-----
> From: jas [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 26, 2002 12:08 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] Connection class
>
>
> Ok well I am in a little over my head with a connection class that I can
use
> over and over for multiple queries against a mysql db on one page.  I have
> read a few tutorials on the subject of how to use class files but I still
> dont understand php enough to know how to make a connection class that
> simply allows me to connect to a mysql database once the page loads and
> keeps the connection to run multiple queries on the same page.  HELP!!!
> Thanks again in advance...
> Jas
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to