Hello,
What is wrong with this code
<?PHP
include ("db_connection.php");
$main = $_POST["main"];
mysql_query("UPDATE pi_pages SET content='$main'" WHERE page='$page'")or die(mysql_error());
?>
The page: <php print "$page";>
<br>Was updated with the following:
<hr>
<br>
<?PHP
echo stripslashes($content);
?>
This is the error I get
Parse error: parse error in /myaccount/public_html/WebEditor/Page-Updater.php on line 4
Many thanks
Chris