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 |
Tell me how do you define a constant?
where do we use htaccess?
i'm b.com graduate and doing MCM- 1year(Master in Computer Management. i'm very interested in PHP? Please tell me some suggetion and the scope of PHP in the market. My E-mail pawan.register@gmail.com Thanks & Regards Pawan.
What is a php form?
What is form action php?
How do you pass a variable by value in php?
How can we create a database using PHP and mysql?
What is the use of inner join in mysql?
Explain the difference between $message and $$message?
How I use global variable in another page without using $_GET method?
What exactly is validating and sanitizing?
What is xss in php?