footbagger Posted January 20, 2007 Share Posted January 20, 2007 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 More sharing options...
redbullmarky Posted January 20, 2007 Share Posted January 20, 2007 your quotes are invalid. either use proper double quotes " or single ones 'I'm not even sure how to get the ones that you have in your code... Link to comment https://forums.phpfreaks.com/topic/34984-annoying-error/#findComment-164988 Share on other sites More sharing options...
footbagger Posted January 20, 2007 Author Share Posted January 20, 2007 oh ok, looks like I'm having a problem with emacs, that really had me stumped. Thanks for the fast reply Link to comment https://forums.phpfreaks.com/topic/34984-annoying-error/#findComment-164991 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.