i m making a connection class but not able to access its methods and variables
can anyone tell me how to make a class for connection and queries in php
connection class
Moderator: General Moderators
Re: connection class
Why are you bothering? There are loads of really good ones already like ADODB, ADODB Lite, DBI, dbFacile, etc. Just use one of those.
If you're writing one in order to learn more about PHP that's fair enough, but then there's not much point in us giving you a solution...
If you're writing one in order to learn more about PHP that's fair enough, but then there's not much point in us giving you a solution...
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US