Skip to content

Instantly share code, notes, and snippets.

@kingcoyote
Forked from anonymous/gist:2999551
Created June 26, 2012 23:11
Show Gist options
  • Save kingcoyote/3000004 to your computer and use it in GitHub Desktop.
Save kingcoyote/3000004 to your computer and use it in GitHub Desktop.
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
if ($row['staffid.id']== $selectid) {
$counter++;
echo "<tr><td class='pad'><font class=content>";
echo "{$row['Year']}";
echo "</font></td><td></td><td><font class=content>";
echo "{$row['Counselor_Role']}";
echo "</td></tr>";
} else {
$counter++;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment