Data from Interactive Court Forms
mysql_connect("localhost", "webuser", "");
$query = "SELECT email FROM lee";
$result = mysql_db_query("test", $query);
if ($result) {
echo "Found these entries in the database:";
while ($r = mysql_fetch_array($result)) {
$email = $r["email"];
echo "- $email";
}
echo "
";
} else {
echo "No data.";
}
mysql_free_result($result);
?>
Add new entry