This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by Nathanael Eastwood
about 11 years

Why Oops, try again! It looks like your <p></p> tags contain the text 'My first line of PHP!My first line of PHP!' instead of 'My first line of PHP!'

This is a werid bug.I have done all the exercises apart from this one and this one is behaving oddly.I have copyed and pasted the hint in but it still does not work. I am sure the syntax is not wrong. This is returning the right answer in the answer pane but it seems to think that I have typed it twice. But it is returning “My first line of PHP!My first line of PHP!” in the “Opps Try Again” pane.

Answer 515c6d3986fe2099d4000603

3 votes

Permalink

i realized whats wrong!

points
Submitted by Luka Lončar
about 11 years

7 comments

gingeraccountant about 11 years

ah, should have scrolled down before commenting…

Dennis Skov Hermannsen about 11 years

This doesn’t work. It’s printing the text inside the “ “ twice.

kenny wyser about 11 years

this one worked for me thanks

Vlad Kustanovich about 11 years

It is still not working for me.

熊雷 about 11 years

It is still not working for me,too.

Cate about 11 years

it worked for me thanks (with semicolon)

roronoazoro16 about 10 years

Maybe you should try :

Answer 515e7bdd982c3bbe49001981

2 votes

Permalink

Got the same bug in Firefox, trying the same thing in Safari worked for me though. It passed.

points
Submitted by Michiel Lauret
about 11 years

1 comments

Peter Macinkovic about 11 years

Thank you dude, I was on Chrome and doing this on Safari worked.

We as the users shouldn’t have to resort to such methods but alas cie la vie..

Answer 515c16afbf03a114d9001678

1 vote

Permalink

I have the same problem :)

points
Submitted by Jiri Lochman
about 11 years

3 comments

Chris Devo about 11 years

I have this problem as well.

Kamran Mackey about 11 years

I have this very problem as well. I think the one who created these exercises messed up something and is causing it to show the error.

gingeraccountant about 11 years

I have the same problem. Also on the next exercise it performs the 40 + 2 calculation but tells me its wrong when I click submit.

Answer 515fccef3d0aad881800177b

1 vote

Permalink

I think, the problem is in browser. I tried open the same lesson in google chrome and got error. Then i open it in internet explorer 10, had made no changes in the code and passed without error message. Strange

points
Submitted by Jiri Lochman
about 11 years

Answer 516bddf83652fc08f3004b49

1 vote

Permalink

It’s working for me now but thanks everyone

points
Submitted by Nathanael Eastwood
about 11 years

Answer 515f0863c04364bc70001073

-1 votes

Permalink

Use single quotes, it’ll work.

points
Submitted by Emerson Ferreira
about 11 years