Guest User

Untitled

a guest
Nov 9th, 2011
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. public function profileShow($uid = FALSE)
  2. {
  3.    
  4.     if(!$uid) {
  5.         return FALSE;
  6.     }
  7.    
  8.     require('conn.php');
  9.     $result = mysql_query("SELECT * FROM achiv WHERE uid='{$uid}'");
  10.     $i = 0;
  11.                        
  12.     while($row = mysql_fetch_array($result))
  13.     {
  14.         if($row['a' . $i]) {
  15.             echo '<i><b>' . $this->achivName($i) . '</b></i><br/>';
  16.             echo '<span id="uMad">' . $this->achivDesc($i) . '</span>' . $i . '/' . $num . '<br/>';
  17.         }
  18.                                        
  19.     }
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment