Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 6th, 2012  |  syntax: PHP  |  size: 0.30 KB  |  views: 55  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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");