What is the correct and the most two common way to start and finish a php block of code?
No Answer is Posted For this Question
Be the First to Post Answer
i have designed a registration form in html (registration.html) and to insert user details in database i have designed a submit form in php (submit_registration.php) but when i click on submit button in registration.html it opens a dialogue box which asks for open or save php(submit_registration.php) even though i have already installed apache HTTP server and php version 5 on my computer and i am using mysql as backend. plz suggest me what should i do????
What is substr in php?
What is php in simple words?
What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?
What is the difference between unset and unlink?
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
How can you retrieve data from the mysql database using php?
Should I use mysqli or pdo?
What are examples of independent and dependent variables?
What is a query in php?
How to send Email using PHP with MySQL in Linux Server?..
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