<p>This is some <strong>sample text</strong>. My website is <a href="http://www.allyourssolutions.com/">All Yours Solutions</a></p>
I am trying to retrieve and echo 'events_body' on http://estesparkeventplanners.com/events.php using the following code:
Code: Select all
<?
$result = mysql_query("SELECT * FROM events")
or die(mysql_error());
// store the record of the "events" table into $row
$row = mysql_fetch_array( $result );
// Print out the contents of the entry
echo htmlspecialchars($row['events_body']);
?>Any help is greatly appreciated.