Difference between $POST and $_POST in PHP -
i know difference between $post , $_post in php.
<form method="post" action="practics.php"> <input type="text" name="fname"> <input type="text" name="lname"> <input type="submit" name="check"> </form>
php:
<?php if (isset($post['check'])) { } ?>
"difference between $post , $_post in php."
so want know difference between both.
it's simple, first 1 throw off notice: undefined variable: post
, being superglobal, underscore must used.
when having error reporting set catch , display:
Comments
Post a Comment