I keep getting this weird warning messae when I dont even have a ' in the code,
Warning: Unexpected character in input: ' in /home/sites/site18/web/calendar/index.php3 on line 1
<?php
$sql = "SELECT * FROM calendar ORDER BY date ASC";
$connection = mysql_connect("localhost", "user", "pw")
or die ("Couldnt connect to server.");
$db = mysql_select_db("table", $connection)
or die ("Couldnt select database.");
$sql_result = mysql_query($sql, $connection) or die ("couldnt get results");
while ($row = mysql_fetch_array($sql_result)) {
$title = $row["title"];
$location = $row["location"];
$city = $row["city"];
$state = $row["state"];
$dates = $row["dates_of_events"];
$reservations = $row["reservation_by"];
$details = $row["details"];
$email = $row["contact_email"];
echo "
<table cellpadding=\"0\" cellspacing=\"0\" border=\"1\" width=\"550\">
<tr>
<td>
<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"550\" bgcolor=\"#99cc99\" height=\"20\">
<tr>
<td><font face=\"Arial, Helvetica, sans-serif\" color=\"#FFFFFF\" size=\"4\"><b>