Parse error: syntax error, unexpected ';' in /home/public_html/config.php on line X
the line number doesnt do anything because i didnt post all of my config.
and <?php was for the other part of the code in config.php
Printable View
Parse error: syntax error, unexpected ';' in /home/public_html/config.php on line X
the line number doesnt do anything because i didnt post all of my config.
and <?php was for the other part of the code in config.php
You can't assign the result of a non-parsed block to a variable like that. Use a function as I demonstrated.
heres my edited version:
Now i have this error:PHP Code:$message {
?> <script type="text/javascript">
function openAlert() {
Dialog.alert(
"<?php echo "$showDate$system_message[message]"; ?>",
{ 'windowParameters' : { 'className' : "alphacube" } }
);
}
</script>
<?php }
Parse error: syntax error, unexpected ';' in /home/public_html/header.inc.php on line X
Note: I edited a different file
(sigh)Can't, can not, may not.Quote:
Originally Posted by myself