Parse error:
Posted: Mon Jun 15, 2009 8:07 pm
Hi
I am getting Parse error from the following code
<?php
...
$query = "UPDATE pages SET
menu_name = '{$menu_name}',
position = {$position},
visible = {$visible},
content = '{$content}'
WHERE subject_id = {$_GET['subj']};
echo "<p>" . $query . "</p>"; <<<<<<< this line.
...
?>
thanks for helping
I am getting Parse error from the following code
<?php
...
$query = "UPDATE pages SET
menu_name = '{$menu_name}',
position = {$position},
visible = {$visible},
content = '{$content}'
WHERE subject_id = {$_GET['subj']};
echo "<p>" . $query . "</p>"; <<<<<<< this line.
...
?>
thanks for helping