I have write the code as:
// session_start();
$auid = isset($_POST['auid']) ? $_POST['auid'] : $_SESSION['auid'];
$pwd = isset($_POST['pwd']) ? $_POST['pwd'] : $_SESSION['pwd'];
Getting error
Notice: Undefined index: auid, pwd
What is substitute of isset() in this case? Assume the code is being called without any initialization or the first calling code of application.
Based upon this short syntax, the value can only be passed of either of these two index variables.