Jump to content

annoying error


footbagger

Recommended Posts

I'm having a problem running this:
[code]<html>
<head>
<title>test page</title>
</head>
<body>
<div>
<?php
//$satisfied = ¨very¨
if($satisfied == ¨very¨) {
print ¨very satisfied¨;
} else {
print ¨not very satisfied¨;
}
?>
</div>
</body>
</html>[/code]
it gives the following error:
"Parse error: syntax error, unexpected T_STRING in /var/www/browser.php on line 10"

any help is appreciated :)
Link to comment
https://forums.phpfreaks.com/topic/34984-annoying-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.