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 Jul 29th, 2012  |  syntax: PHP  |  size: 0.14 KB  |  views: 15  |  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. while($stmt->fetch()){
  2.                         if($mysqli->errno){
  3.                                 throw new Exception('Failed to fetch results', 1)
  4.                         }
  5.                         else {
  6.                                 $data[]=$rslt;
  7.                         }
  8. }
clone this paste RAW Paste Data