Page 1 of 1

need help with make a MMORPG

Posted: Mon Jul 13, 2009 5:50 am
by 666ryster
ok so i watched the tutorial for making a free MMORPG on youtube right i got up to the test.php i did the same thing that the person on the tut did then i go to localhost/tutorial/test.php though it says

Parse error: parse error in C:\wamp\www\tutorial\test.php on line 2


someone please help me

Re: need help with make a MMORPG

Posted: Mon Jul 13, 2009 6:03 am
by Sakar
Post your test.php script. We can't tell what's wrong with the code unless we see it ;)

Re: need help with make a MMORPG

Posted: Mon Jul 13, 2009 11:09 am
by 666ryster
The extension php is not allowed.

it says that when i try attach it though here is what i put in the notepad

<?php
echo 'This is a Test.Hello world":
?>

Re: need help with make a MMORPG

Posted: Mon Jul 13, 2009 12:37 pm
by Sakar
Change it to this

<?php
echo "This is a test, Hello World";
?>

Re: need help with make a MMORPG

Posted: Mon Jul 13, 2009 1:22 pm
by Noctrine
I see a colon ( : ) where a semicolon ( ; ) should be.

Re: need help with make a MMORPG

Posted: Tue Jul 14, 2009 7:32 am
by 666ryster
oh thanks it is hard to tell on his video :S

Re: need help with make a MMORPG

Posted: Tue Jul 14, 2009 12:01 pm
by Noctrine
Maybe, but in php the line delimiter is a semi colon. Also, all of the source code that he posts underneath the videos here on the forums uses semicolon's.