View Single Post
Join Date: Aug 2008
Posts: 48
Reputation: Demiloy is an unknown quantity at this point 
Solved Threads: 4
Demiloy Demiloy is offline Offline
Light Poster

Re: show club presidents info hide everyone else's

 
0
  #4
Aug 7th, 2008
In which case, you could change the query. Under the if(!logged_in) part, after the first query:

  1. $names = mysql_query("SELECT name FROM members WHERE id != 'president'");
  2.  
  3. while ($info = mysql_fetch array($names))
  4. {
  5. // echo names
  6. }
  7. //continue on with elseif

That should do the trick.
Last edited by Demiloy; Aug 7th, 2008 at 11:16 pm.
Reply With Quote