title: Undefined index: page in
body: <p>Ok I have the above error on my page, I am using PHP 5.3 for the first time, and have used this code before but never had this notice, so I was hoping for some guidance.  I have looked at  some questions but when I try to apply the solution to my bit of code it doesn't seem to work.  </p>
  
  <p>This code is a PHP pagination script from paper mashup and so if I can find the answer it may help anybody else who is also using this code and experiences the same problem.</p>
  
  <p>the piece of code which is generating the notice is this -</p>
  
  <pre><code>$page = mysql_escape_string($_GET['page']);
  if($page){
      $start = ($page - 1) * $limit; 
  }else{
      $start = 0; 
      }   
  </code></pre>
  
  <p>From what I have read it was suggested to add isset and so changed the code to look like it does below, however i still get the same error.</p>
  
  <pre><code>$page = mysql_real_escape_string($_GET['page']);
   if(!isset($page)){
      $start = ($page - 1) * $limit; 
  }else{
      $start = 0; 
      }   
  </code></pre>
  
  <p>Any advice would be appreciated.</p>
  
  <p>Thanks</p>
  
  <p>Stan    </p>