Erm i am woundering if anyne nows how. When i dj is on air there name comes up in the request name drop down box so there name comes up instead of scrolling down AND when theres no DJ on air the requests goes and says sorry they is not a dj on air

I think using the variables already in you can do it, i spect youll be better off asking someone like nick![]()
Musicicon iscurrently
and so on...PHP Code:<select name="djname">
<option value="DJ Jamie" <? if($servertitle == DJ Jamie) { echo"selected"; } ">DJ Jamie</option>
<option value="DJ 2" <? if($servertitle == DJ 2) { echo"selected"; } ">DJ Jamie</option>
<option value="DJ 3" <? if($servertitle == DJ 3) { echo"selected"; } ">DJ Jamie</option>
</select>
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
So i put that were i have my names already in and it works fine This is how it is now:
HabboName:
------------
DJ:
Choose DJ...
Type:
Request,And so on
Message:
The message goes here
But i want it so it is the same but when the DJ is online I want it to go to there name on DJ like theres:
DJ Jamie
DJ Ross
DJ Cox
And so on in the dropdown box
But if DJ Ross goes on It will be
|DJ Ross| and then you dont need to change the dropdown.
Last edited by Implement!; 05-07-2006 at 06:42 PM.
You need to set what $servertitle means but if you place it inside radio statistics that variable will most likely already have been set.
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
Most new dj panels come with this feature already installed, just pm dmb-hostinghe has a great panel with this feature.
Why don't you just do:-
<input name="djname" type="hidden" value="<? echo'$servertitle'; ?>">
REMOVED
Edited by jesus (Forum Super Moderator): Please do not have text in your signature which is over size 4.
Want to hide these adverts? Register an account for free!