아이디와 관련된 해당 아이콘도 나타내고 싶습니다.
안녕 하세요. 고수님들..
제가 다음과 같은 초보적인 코드로 포인트 순위 리스트를 뿌리고 있씁니다.
<table border="0"> <? $query=mysql_query("SELECT * FROM g4_member ORDER BY mb_point DESC LIMIT 10");
$i=0; While($row=mysql_fetch_array($query)){ $i++; ?>
<tr><td><?=$i?>.</td><td> <?=$row[mb_nick]?> <?=$row[mb_id]?><strong> (</strong><?=$row[mb_point]?><strong>)</strong></td>
</tr>
<? } ?> </table>
$i=0; While($row=mysql_fetch_array($query)){ $i++; ?>
<tr><td><?=$i?>.</td><td> <?=$row[mb_nick]?> <?=$row[mb_id]?><strong> (</strong><?=$row[mb_point]?><strong>)</strong></td>
</tr>
<? } ?> </table>
여기 닉네임 앞에 해당 아이콘을 보여주고 싶은데요. 잘안되네요. 도와 주세요..
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 2개