Recently, I tried to be complex and assign a variable inside the isset function. I tried to do it like this:
if(isset($accountid =$_POST['Recipient']))
{
}
However, when I do this, I get an error
syntax error, unexpected '=', expecting ',' or ')'
Here is the documentation for isset if you want to reference it in your answer.
bool isset ( mixed $var [, mixed $... ] )
This is not the most difficult transaction, but I would be interested to know why I can not do something in this direction!
source
share