|
Posted by Jeff on 07/29/07 18:19
PHP 5.2.3
Sorry for that odd title. But what I'm wondering about is assigning values
stored in a database to class variables. Lets say a class has the variable
$name and when instantiation of the class this $name variable should get a
value from the database..
I know it is possible to do a simple select, and fill the $name with the
returing result.
I'm just wondering if PHP may have a better approach?
[Back to original message]
|