title: Easy question about PHP
body: <p>i have an android app, that connects to a remote DB with PHP. OK, i have it done and working, but i need something special.</p>
  
  <p>I need to pass one parameter more to each PHP, and in the PHP code, i need to check if this extra parameter is equal to this word "sea", and only if it is equal, my php will do the remote DB querys. ¿why i want to do this? to make more safe my php codes, because they can be accesed by internet, but i want to add this extra parameter to certificate that only my app will do querys to the DB, because only my app knows this extra parameter "sea".</p>
  
  <p>but i dont know how to do it, because my skills on PHP are null (the phps of my app are done by a friend)</p>
  
  <p>can someone complete my code with the check i need? the parameter name will be "app_password" and the correct value of the parameter will be "sea"</p>
  
  <p>this is my php code where i need the comprobation:</p>
  
  <pre><code>&lt;?php
  
  $link =mysql_connect(("theip","theuser","thepass"););
  mysql_select_db("pervasive_locations", $link );
  
  $q=mysql_query("Delete From permission Where 
  fk_email1='".$_REQUEST['email1']."' and 
  fk_email2='".$_REQUEST['email2']."'",$link );
  
  
  while($e=mysql_fetch_assoc($q))
          $output[]=$e;
  
  print(json_encode($output));
  
  mysql_close($link);
  
  ?&gt;
  </code></pre>