FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Stuck on Exercise 1
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Stuck on Exercise 1 [message #178646 is a reply to message #178643] Sun, 15 July 2012 14:07 Go to previous messageGo to previous message
tim.whittingham is currently offline  tim.whittingham
Messages: 2
Registered: July 2012
Karma:
Junior Member
On Sunday, July 15, 2012 2:28:05 PM UTC+1, Shake wrote:
> > print(“Hello, cruel world<BR><BR>\n”);
>
>
> This double qoutes you are using... Looks like the type of quotes that
> some word processors like "Microsoft word" uses... And are not valid
> characters.
>
> “ And ” are not the same that "
>
> Perhaps the PHP is doing and error and you have the error display
> disabled.
>
> if the file extension is .html can be that the file is not processed
> bye the PHP and delivered as is to the browser. Then, you can look the
> source code through the browser And see the php on it.
>
>
> Try using .php as the file extension. Try also using the correct double
> quote character.
>
> Regards


It works, you were correct on both errors. My book is in pdf so I had copied and pasted directly from the text into notepad++ thinking it was sure to be correct,lol. And the extension I had as .html, so thank you, I can continue my learning now.

Tim W
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Lost $_SESSION in Google Chrome
Next Topic: Business Developer for IT company
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 17:04:58 GMT 2024

Total time taken to generate the page: 0.04978 seconds