Thread: PHP
View Single Post
Old 16.04.2005, 16:28   #12
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

Quote:
Originally Posted by Domzelan
no no no - this is online status, pledge.pledge_id = user_data.pledge_id - shows only players who have CLAN but i need to show who online and his clan name, if hi dont own clan - shows Blank.
Humm... if you dont put that condition, it'll show a cross-point of results... SQL does that very often xD.

I think Pledge_id = 0 shows blank. do a select to a var in php with the values of pledge_id, and do an if:

varsql = "select pledge_id from pledge"
if (varsql = 0) show "No Clan"

Hope it helps

Oso
Osito2Dancer is offline