Tell me what are the __construct() and __destruct() methods in a php class?
No Answer is Posted For this Question
Be the First to Post Answer
Who is the father of PHP and explain the changes in PHP versions?
15 Answers ADISoft Tech, Genpact, PropTiger, TWA,
How long is session timeout?
we have two tables first one is EMPLOYEE having EmpID, EmpNAME, Second table is SALARY table having id, salary Write a query to get name of those person who having more than 10000$ salary
Is it easy to learn wordpress?
Is php closing tag necessary?
How can I use the COM components in php?
1 Answers Covansys, Rushmore Consultancy,
How will you create a mysql database using php ?
class Database { public static $_instance; public static function getInstance() { if(!isset(self::$_instance)) self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME); print_r(self::$_instance); return self::$_instance; } } can any one explain "self::$_instance = new Database(DB_SERVER, DB_USER, DB_PASS, DB_NAME);" this line
How do you remove duplicates from an array?
How do I find out the number of parameters passed into function?
Can you define an argument as a reference type?
What is sorting php?