| Name | Date Registered |
';
// Fetch and print all the records.
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
echo "|
$row[0] |
$row[1] |
\n";
}
echo '';
mysql_free_result ($result); // Free up resources
} else { // If it did not run OK.
echo 'System error. We apologise for any inconvenience.
' .
mysql_error() . '
';
}
mysql_close(); // Close the database connection
?>.