I need to compile this php code to display the names of everyone in a database table...

Oliver

New member
...apart from you it doesnt? work

session_start();
if($foundconnection)
{
$primaryfield = "SELECT * FROM activeuser";
$findusername = mysql_query($primaryfield) or die("Error");
$howmanyusersonline = mysql_num_rows($findusername);
}
?>
<?php
while($db_field = mysql_fetch_assoc($findusername))
{
if($db_field['email'] = $_SESSION['email'])
{
continue(1);
}
echo "<a href = '##'>".$db_field['firstname']." ".$db_field['lastname']."</a>";
}

?>

why not
please help
 
Back
Top