PHP Code:
if ($_COOKIE['usertype']=="chatusers" ){
echo '<td align="center" valign="middle"><a href="liveshow.php?model='.$username.'"><img src="models/'.$username.'/thumbnail.jpg" width="140" height="105" border="0"></a></td>';
}else{
echo '<td align="center" valign="middle"><img src="models/'.$username.'/thumbnail.jpg" width="140" height="105" border="0"></td>';
}
When a model goes online there thumbnail will show up on the main page and when a user of the site clicks on the thumbnail it will take them to that models room, the problem is that sometimes the thumbnail is clickable and sometimes its not.. i been working on this problem since lastnight and half the day today an i still can't get it to work.

Comment