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

Post New Answer

More PHP Interview Questions

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????

3 Answers  


What is substr in php?

0 Answers  


What is php in simple words?

0 Answers  


What are the differences between php3 and php4 and php5? What is the current stable version of php? What advance thing in php7?

0 Answers  


What is the difference between unset and unlink?

0 Answers  






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)?

8 Answers   TCS,


How can you retrieve data from the mysql database using php?

0 Answers  


Should I use mysqli or pdo?

0 Answers  


What are examples of independent and dependent variables?

0 Answers  


What is a query in php?

0 Answers  


How to send Email using PHP with MySQL in Linux Server?..

3 Answers  


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

1 Answers  


Categories