Please view this page http://www.ccsionline.net/ On the right hand side of the page, I am pulling the events from the database with this script
<?php
$link = mysql_connect('db86.Perfora.net', $db_user, $db_pass) ;
if (! $link)
die("Couldn't connect to MySQL");
mysql_select_db($db , $link)
or die("Couldn't open $db: ".mysql_error());
$query = "SELECT * from pec_mssgs WHERE id>0 ORDER by y, m, d ASC ";
$result = mysql_query($query, $link) or die('error making query');
$rows = mysql_num_rows($result);
while ($row = mysql_fetch_array($result)) {
$m=$row['m'];
$d= $row["d"];
$y = $row["y"];
$title= $row["title"];
$text=$row["text"];
$newDate = $m."/".$d."/".$y;
print '<table width="180" border="0" cellpadding="0">';
print '<tr>';
print "<td align='left' ><b>$newDate</b><br></td>";
print '</tr>';
print '<tr>';
print "<td align='left' ><b>$stime-$etime</b><br></td>";
print '</tr>';
print '<tr>';
print "<td align='left' ><b>$title</b></td>";
print '</tr>';
print '<tr>';
print "<td align='left' ><b>$text</b></td>";
print '</tr>';
print '</table>';
print '<br>';
}
?>
The PHP is, apparently, escaping the quotations that the user has entered into the field on the calendar, and then it shows the backslash on the home page. I do not have a clue how to stop this....Can somebody point me in the right direction?
Thanks,
William