bold up first result of loop
-
Anyone know how to modify the loop to bold up the first result?
Thinking something along the lines of below but my php isn’t too hot. Thanks in advance.
<?php $first = true; while ($row = mysql_fetch_array()) { if ($first) { // bold $first = false; } else { // normal } }?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘bold up first result of loop’ is closed to new replies.