Muffmuncher
Member
- Jan 11, 2012
- 61
- 12
Why does the following not work on RevCMS? Ripped off PhoenixPHP.
PHP:
<?php
$query = mysql_query("SELECT * FROM cms_registration_figures WHERE gender = 'f' ORDER BY RAND() LIMIT 11");
while($figure = mysql_fetch_array($query))
{
echo '<a class="female-avatar" onclick="doUpdateImage(this); return false;" rel="'.$core->EscapeString($figure["figure"]).'"><img src="http://www.habbo.fr/habbo-imaging/avatarimage?figure='.$figure["figure"].'&direction=4&size=s" width="33" height="56"/></a>';
}
?>