Advertisement
hadar

Untitled

May 12th, 2011
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1.  
  2.    if (get("SELECT * FROM groups ORDER BY id", $q_contact) > 0) {
  3.  while ($r_contact = mysql_fetch_array($q_contact))
  4.  {
  5.    if ($hate==$r_contact["collegeid"] && $r_contact["verified"]=="YES") {
  6.       $id=$r_contact["id"];
  7.       $name=$r_contact["name"];
  8.       $desc=$r_contact["about"];
  9.       $leader=$r_contact["leader"];
  10.       $college=$r_contact["college"];
  11.  
  12.       echo "<a href=\"javascript:void(parent.frames[1].location.href='r_1.php?id=$id');\">$name</a><br>";
  13.  } else {
  14.            $error = "There is no Groups for this college, be the first to post one";
  15. }
  16.  }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement