How can I put two search results statement as one using a conditional statement?

前端 未结 2 2077

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

2条回答
  •  渐次进展
    2021-01-26 13:54

    the difference is

    $doctor = $_GET["txt_doctor"];
    

    you can firstly check $_GET["txt_doctor"]; and then with the code below

    if(isset( $_GET["txt_doctor"]))
    {
      // second statement
    }else
    {
    // first statement
    
    }
    

提交回复
热议问题