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 laravel easy to learn?
How to find the position of the first occurrence of a substring in a string?
AentteQ Software Technologies Q: what are benifits of using LAMP..?
How to include variables in double-quoted strings?
How should a model be structured in mvc?
What does $_files means?
Is python better than php?
How can we do user authentication without using session/cookies ? For ex:- From page1 accepts user name and password and need to check in all other pages whether the user has logged in or not
How can we upload a php + mysql Site
How can i send a HTML file to mail account.
What is the difference between javascript and php?
How can we submit a form without a submit buttom?
12 Answers A1 Technology, IBM,