Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
$result = mysql_query("SELECT surname,givenname,id,withdrawaldate FROM students WHERE cid=$companyresults[0] ORDER BY surname");
$studentcounter = 0;
while($book_row = mysql_fetch_array($result))
{
$studentcounter++;
if(empty($book_row['withdrawaldate']))
{
$image = "<img src='[URL unfurl="true"]http://www.not-telling-you-my-domain.org/greenflag.gif'[/URL] />";
}
else
{
$image = "<img src='[URL unfurl="true"]http://www.not-telling-you-my-domain.org/redflag.gif'[/URL] />";
}
print "<LI><A class=\"student\" HREF=\"student.php?do=view&sid=$book_row[2]&cid=$companyresults[0]\">$book_row[0], $book_row[1]</A>$image<BR>\n";
}