Feedback on OOP Classes
View Single Post
05-04-2009, 11:33 PM
Join Date: Feb 2009
Location: New York
Originally Posted by
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:
But that method doesn't exist anywhere in the class, the closest is:
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!!!
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?
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay