Hi,
Is this what you're looking for?
for ($i=0; $i <$num_results; $i++)
{
$row = mysql_fetch_array($result2);
echo "<tr><td width=600 align=left>";
echo "<p class=searchReturn2>";
echo htmlspecialchars(stripslashes($row["username"]));
echo "</p></td></tr>";
if($i == "0")
{
echo "<tr><td width=600 align=left>";
echo "<p class=searchReturn2>";
echo htmlspecialchars(stripslashes($row["maximum"]));
echo "</p></td></tr>";
}
}
"maximum" will only be displayed for the first returned record, after that it will be "username" only.
Best wishes,
Simon.