Is it necessary to use closing tag in php?sometime without
closing tag things work.why?
Answers were Sorted based on User's Feedback
Answer / prashant
This isn't exactly a bug. PHP doesn't require the closing
tag (it is assumed when the file ends). Not specifying the
closing ?> helps prevent accidents like additional
whitespace which will cause session initialization to fail
("headers already sent").
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / ankur
some times session are not expired or logout then we find
that type of situation.
| Is This Answer Correct ? | 1 Yes | 2 No |
Is it possible to connect to a Microsoft Access database without a DSN? If so, how??
What is php mainly used for?
can any one tell how to install LAMP server in terminal in ubuntu.....and also tell please how to run php files in ubunut and how to save and compile in ubuntu..i already installed ubuntu ..but i dont installed lamp server so i want to install lamp server in terminal is it possible please reply
What is difference between base_url and site_url?
What are the differences between mysqli_connect and mysqli_pconnect?
What is sorting php?
How can you get web browser’s details using PHP?
What is happening in the following code $objA = new A(); // A is a class $objB = $objA;
What are computer variables?
How is the ternary conditional operator used in php?
How to find second highest salary
What will the ?getdate() function returns in PHP?