Home »
OOPS-Interview-Questions
,
Php Interview Questions
,
php-interview-questions-answers
» how create a new instance of an object?
how create a new instance of an object?
PMA02:01
Latest Technology, Windows 7, Windows 8, Business, Bollywood News,Internet news, reviews
class user { function load_info($username) { // load profile from database } } $user = new user; $user->load_info($_REQUEST['username']);