Advertisement
tjromano

aidesnames function

Aug 20th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. //function to get aides that are active
  2. function aides_names(){
  3.  
  4. $result = mysql_query("Select * FROM `aides` WHERE 1 ORDER BY `aides_ln`");
  5.  
  6. $arr = array();
  7. while($r = mysql_fetch_array($result)){
  8.     $arr[] = $r;
  9.     }
  10. return $arr;
  11.  
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement