Reply to assigning values to class variables

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация