+ 3
Why it is appeared again "Undefined variable $HTTP_POST_VARS" in code of th file "feedback. php." 1 ?...with $_POST too, Isset (
There is notting *." txt "Abreviation now?! https://code.sololearn.com/wpitxDf3Fbb0/?ref=app isset () is forbidden too PHPcompiler has inscripted and ins inscripted ted need null ! ==expression.
4 ответов
+ 4
$HTTP_POST_VARS IS NOT AN SUPERGLOBAL WHICH MEANS ITS SCOPE IS LIMITED TO LOCAL
THUS TRY USING $_POST WHICH IS AN SUPERGLOBAL WITH GLOBAL SCOPE
+ 4
THE ERROR NOW BEING SHOWN IS BECAUSE OF THE FACT THAT THEIR IS NO ELEMENT WITH NAME, for eg. name, BUT IT CAN BE REMOVED BY USING
if (isset ($_POST ['name'])){
$name = $_POST ['name'];
}
With each $post use
This way isset () function checks a variable to be not to be null and only returns true if variable have some value
+ 2
And I've replaced but situation is the same.
+ 2
ERROR:isset() IS FORBIDDEN! compiler has inscripted and is written null! ==expression need.
But now: parse sintax ERROR " ;"