I have been looking for an error in my code since an hour. It was a mistake:
Record:
if(isset(($_POST['to'])))
instead
if(isset($_POST['to']))
I do not understand why this extra pair of brackets causes an internal server error.
I do not think that the brackets around a variable will ever change its value. I mean,
$a = $b;
$c = ($b);
$a==$c;
I am curious to know why this is a mistake?
Thanks.
EDIT:
The above error also occurred for a normal variable.
source
share