Kristopher
Photographer
- Dec 25, 2010
- 803
- 68
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
</div>
<?php
$getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . USER_ID . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
?>
<div id="badge-back">
<ul class="badge-back"><br>
<?php
while($b = mysql_fetch_assoc($getBadges)){
echo ' <img src="
}
?>
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
<img src="./images/badgeback.png">
</div>
<?php
$getBadges = dbquery("SELECT * FROM user_badges WHERE user_id = '" . USER_ID . "' AND badge_slot >= 1 ORDER BY badge_slot DESC LIMIT 5");
?>
<div id="badge-back">
<ul class="badge-back"><br>
<?php
while($b = mysql_fetch_assoc($getBadges)){
echo ' <img src="
You must be registered for see links
' . $b['badge_id'] . '.gif"> ';}
?>
For some reason this code isn't working and everything seems to be right for me and there is no errors....