| " . $number . " | ";
// echo strlen($txt) . " is the length of " . $txt;
// echo "
Date Formats:
";
// echo "Day: " . (date("l") . "
");
// echo "Month.Day.Year: " . date("m.d.y") . "
";
// echo "Month-Day-Year: " . date("m-d-y") . "
";
//$today = date("m.d.y");
echo "
";
echo "Today is " . (date("l, M d, Y")) . " and the time is " . date("h:i:s a");
$con = mysql_connect("localhost:3306","jwelty","jester58");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("joker", $con);$result = mysql_query("SELECT * FROM showdate");
while($row = mysql_fetch_array($result))
{
echo $row['ShowDate'] . " " . $row['Location'];
echo "
";
}mysql_close($con);
?>