title: how to print error message in HTML/PHP?
body: <p>I am checking if the particular parameter is passed and if a folder exists for that parameter. ex</p>
  
  <pre><code>if ((! isset($_GET["name"])) or (! is_dir($_GET["name"]))) {
  
      print "----------------USER NOT FOUND-----------------" ;
  }
  </code></pre>
  
  <p>and in my URL if have name=Erik and if that folder does not exist in that name, I want to print the Error message.
  Also I would like to check if the parameter'name' is passed into URL using isset.
  Somehow the above does not work and I am unable to figure out why.
  Any input will help.</p>
  
  <p>Thanks</p>