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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -