I need these two separate statements to be one statement using a conditional either if or elseif or even any other conditional statement which will exe
if
elseif
the difference is
$doctor = $_GET["txt_doctor"];
you can firstly check $_GET["txt_doctor"]; and then with the code below
$_GET["txt_doctor"];
if(isset( $_GET["txt_doctor"])) { // second statement }else { // first statement }