this is a very normal question, but i think i should clear my confusion.
in php form we usually write
<form method="POST" .../>
as we retrive data via $_POST[''];
so if i write
<form method="post" .../>
then can we retrieve data via $_post[''];
i just want to know which is better and suggested way to write method value..“post” or “POST”
thanks
It makes no difference at all. It is purely a question of style. I personally prefer to use all lower case. It’s easier to type and makes it easier to convert to XHTML, which requires lower case, should you ever choose to convert. This faq entry covers lower case vs upper case in a bit more detail. Quoting:
Note that
$_POSTmust be uppercase, but this has no relation to case used in the HTML.