Yüah Kollegen ich hocke zur Zeit an ner Me und kriege es nicht hin das meine Badges angezeigt werden...
Mein Code :
Spoiler anzeigen
<div id="badge-back">
<img src="./web-gallery/v2/images/personal_info/badgeback.png">
<img src="./web-gallery/v2/images/personal_info/badgeback.png">
<img src="./web-gallery/v2/images/personal_info/badgeback.png">
<img src="./web-gallery/v2/images/personal_info/badgeback.png">
<img src="./web-gallery/v2/images/personal_info/badgeback.png">
</div>
<?php
$sql = mysql_query("SELECT * FROM users_badges WHERE user_id = '".$my_id."' ORDER BY badge_id ASC LIMIT 5");
$count = mysql_num_rows($sql);
?>
<div id="badge-back">
<?php
if($count == 0){
echo " ";
}else{
?>
<ul class="badge-back"><br>
<?php
while($badgerow = mysql_fetch_assoc($sql)){
echo "
<img src='".$cimagesurl.$badgesurl.$badgerow['badgeid'].".gif'/> ";
}
}
?>
Ich hoffe mal jemand erkennt meinen Fehler und kann mir helfen
Danke Mates!