PDA

View Full Version : Can anyone help me make this...



irGemma
16-12-2010, 12:18 PM
it is used by the dj's name

so it grabs the dj's staff panel username (say it's DJ Fred and their username to the dj panel is Fred) then you have a string which would be something like

<img="http://site.com/images/djpics/codetograbdj'sname.png" />

something along the lines of that so it might help if you tell people what you're using as a DJ panel, if anything http://www.clubhabboforum.net/images/smilies/smile_habbo.gif

Edited by HotelUser (Forum Super Moderator): Thread moved from "Technology Discussion" as I feel it's more suited here.

LMS16
16-12-2010, 01:16 PM
<?php
$fetchDJ = mysql_query(" SELECT * FROM `staff` WHERE `id`='{$_GET['id']}' ");
$showDJ = mysql_fetch_object($fetchDJ);
echo "<img src=\"path/to/images/{$showDJ->username}.jpg\" />";
?>


Something along the lines of that... :)

Lew.

irGemma
16-12-2010, 01:31 PM
Lew read your PMS xx

Want to hide these adverts? Register an account for free!