Anyone know whats going on?

Im currently doing a coding course and long story short my code is exactly the same as my teachers and theirs run just fine but mine in the other hand just won’t. please help, thank you

The .replit file is miss configured. You can either edit the .replt file so the entry point is test.php or the file you want or rename the file you want to run to main.php.

3 Likes

yep that worked perfectly! thank you, so whenever i want to run any code on php i need to always have the file name to “main.php”?

2 Likes

Or change the entry point in the .replit file in the repl. Either one will work.

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.