Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 5th, 2012  |  syntax: None  |  size: 0.31 KB  |  hits: 11  |  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. $ord = "DESC";
  2. $where = "`req` <= {$user['respect']}";
  3. $efe = "D/S";
  4. if($user['respect'] < 0){$ord = "ASC"; $where = "`req` >= {$user['respect']}"; $efe = "A/S";}
  5.  
  6. $respectlol = mysql_query("SELECT name FROM respectranks WHERE $where ORDER BY req $ord limit 1");
  7. list ($rrname) = mysql_fetch_array($respectlol);