What is a query in a database?
No Answer is Posted For this Question
Be the First to Post Answer
Tell me how can we automatically escape incoming data?
Tell me what are magic methods?
How do I run a php script in windows?
How to write the form tag correctly for uploading files?
How to receive a cookie from the browser?
What is print_r?
What are the functions to be used to get the image's properties (size, width and height)?
What are the common uses of php?
What is php namespace?
What is fulltextsearch
Tell me how a constant is defined in a php script?
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