title: Undefined php function error
body: <p>Hey guys so here is my code:</p>
  
  <pre><code>&lt;?php
  function editEntry($entry)
  {
      echo $entry;
  }
  
  function deleteEntry($entry)
  {
      echo $entry;
  }
  
  /*Edit on $_POST*/
  if(isset($_POST["edit"]))
  {
      $entry = $_POST["edit"];
      editEntry($entry);
  }
  
  /*Delete on $_POST*/
  else if(isset($_POST["delete"]))
  {
      $entry = $_POST["delete"];
      deleteEntry($entry);
  }
  ?&gt;
  </code></pre>
  
  <p>Although,on run I am getting this error: </p>
  
  <pre><code>Call to undefined function editEntry() in ... on line 18
  </code></pre>
  
  <p>What could be the problem??I really don't know why that would happen.What do you guys think?</p>