Re: [PHP] Theory question

2002-11-01 Thread Matt T. Galvin
Well, what you could do is write one function that gets all the values that you need and fills the variables up with them, AND write a bunch of functions that get one value at a time. Then depending on the conditions or parameters/values needed or recieved and such, you can call the fun

[PHP] Theory question

2002-11-01 Thread Daniel Masson
Hi every1 This is a theorical question about the best way to use classes. I have a class named anything, and also theres a table named ahything .. The class attributes are the same fields of the table like this Class anything { var $something1; var $something2; var $so