Quote:
Originally Posted by Tanax
Haha wow! You dig up old posts 
Well, if you're looking at it as a learning purpose, then studying these classes are quite good practice.
And yes of course I've come up with better stuff! I created database classes(3 files) and one of them were over 1000 lines of code! A little more advanced than this I would say 
I haven't created a new member system though, but could probably pretty easially create one
And I sure hope they have! LOL  
|
I know, the way I see it, I have to at least try to dig up old threads to see if I can learn anything that has been talked about the last 2 years here...
I'm actually playing with your code now...is this a typo?
I see that in your construct, you are calling this method:
$this->connectdb();
But that method doesn't exist anywhere in the class, the closest is:
connect();
So once I implement this, what would you say is next for me in terms of database connection and OO?
What is the next step!!!
EDIT:
Also this is OT, but do you know of any way to initialize multiple arrays at the same time? So instead of this:
$test = array();
$test2 = array();
$test3 = array();
You can somehow create those 3 arrays with a single command?
Does PHP have anything built in for that?