SHARE
TWEET

Untitled

a guest Aug 6th, 2012 71 Never
  1.         $current_page = $_GET['page'];
  2.         $sql_limiter =  (($current_page - 1) * $limit);
  3.         $sql_limiter2 = $sql_limiter . ', ' . $limit;
  4.        
  5. // END PAGINATION STUFF
  6.  
  7. $getmyorders = mysql_query("SELECT `orderid`, `status`, `date` FROM orders WHERE technumber ='$myuserid' ORDER BY date DESC LIMIT $sql_limiter2");
RAW Paste Data
Top