<snip> while ($row = mysql_fetch_array($selection)){ if (section == $sectionName){ echo "<b>" . $row["sectionName"] . "</b>"; }else{ echo $row["sectionName"]; }
thx </snip> Not sure if I understand you 100% but I think you could just either check the $_GET or $_REQUEST array. Something like this: if ($_REQUEST['section'] == $sectionName){ //or $_GETT['section'] == $sectionName echo "<b>" . $row["sectionName"] . "</b>"; }else{ echo $row["sectionName"]; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php