What does this line of code mean?
$email = isset($_POST['email'] ) ? $_POST['email'] : '' ;
‘email’ is the name attribute in the form.
i tried writing only
$email = $_POST['email'];
but it didn’t work…please help
What does this line of code mean?
$email = isset($_POST['email'] ) ? $_POST['email'] : '' ;
‘email’ is the name attribute in the form.
i tried writing only
$email = $_POST['email'];
but it didn’t work…please help
@abhi.borkakoty,
Start here on your quest for knowledge
http://stackoverflow.com/questions/4559925/why-check-both-isset-and-empty