iSpeedDevil! Posted February 18, 2009 Share Posted February 18, 2009 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /customers/mafiabossworld.com/mafiabossworld.com/httpd.www/information_bar.php on line 3 Line 1 to 5 : <br /><br /> <?php if($newmail == 0){ echo "<a href='mailbox.php' onfocus=\"if(this.blur)this.blur()\"><marquee width=\"100%\"><b><font color="red">You have a new message.</marquee></a></font>";} ?> <fieldset style="color: #999999; border: 1px solid #000000; width: 90%; text-align: left; padding: 5px;"><legend style="color: #999999; font-weight: bold;">Character Information. ( <?php echo date("H:i:s"); ?> )</legend> Any help to get here? =) Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/ Share on other sites More sharing options...
Mchl Posted February 18, 2009 Share Posted February 18, 2009 See the blue word 'red' in the code you posted? It should be red... just like all other characters in the string. I mean. You start the string with ". You end the string with ". So what to do with " inside a string? (that's your homework ) Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-765231 Share on other sites More sharing options...
Maq Posted February 18, 2009 Share Posted February 18, 2009 See the blue word 'red' in the code you posted? It should be red... just like all other characters in the string. I mean. You start the string with ". You end the string with ". So what to do with " inside a string? (that's your homework ) Considering he has already done this with the other "'s around attribute values. It's weird making the quote symbol plural... Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-765238 Share on other sites More sharing options...
gethinw Posted February 20, 2009 Share Posted February 20, 2009 It's weird making the quote symbol plural... Only when you don't do it properly - 2 * apple != apple's Sorry, I couldn't help myself... Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-767066 Share on other sites More sharing options...
Maq Posted February 20, 2009 Share Posted February 20, 2009 It's weird making the quote symbol plural... Only when you don't do it properly - 2 * apple != apple's Sorry, I couldn't help myself... Thanks professor gethinw. I'm a software developer, so my grammar skills are little to none. Besides, that stuff is for QA. Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-767070 Share on other sites More sharing options...
GingerRobot Posted February 20, 2009 Share Posted February 20, 2009 In any case, it's perfectly valid to use an apostrophe after a character/symbol if is clarifies meaning. For example, if i were to be talking about the letter a (and, in particular, if there was some reason why i should only be using lowercase) and i want to talk about lots of them, it would almost certainly be better to use "a's" than "as". Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-767390 Share on other sites More sharing options...
Maq Posted February 20, 2009 Share Posted February 20, 2009 In any case, it's perfectly valid to use an apostrophe after a character/symbol if is clarifies meaning. For example, if i were to be talking about the letter a (and, in particular, if there was some reason why i should only be using lowercase) and i want to talk about lots of them, it would almost certainly be better to use "a's" than "as". Ben is right, sorry professor gethinw you're wrong... Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-767452 Share on other sites More sharing options...
gethinw Posted February 24, 2009 Share Posted February 24, 2009 if it clarifies meaning It's weird making the quote symbol plural... I think you've answered your own question there. Lets agree to disagree... Quote Link to comment https://forums.phpfreaks.com/topic/145750-solved-very-strange-or-am-i-just-stupid/#findComment-769950 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.