0

Why doesn't my browser recognize the php section?

I've saved the code as said in the alert and my browser opens the file again when submitted but the php section doesn't works. Can anybody help me please? https://code.sololearn.com/wqgT63871uMp/?ref=app

4th Jul 2017, 7:36 PM
You
4 Answers
+ 4
You need a web server, not a browser, to run php code. That is why php is called server-side or backend language Download and install a http server
4th Jul 2017, 7:53 PM
Eligijus Silkartas
Eligijus Silkartas - avatar
+ 2
@Eligijus Silkartas Oh, that means that php can be executed ONLY by a server 👌 i didn't know that. Thank you very much!
5th Jul 2017, 5:47 AM
You
+ 2
You can use xampp
11th Dec 2019, 5:43 PM
Vignesh Rathnam
Vignesh Rathnam - avatar
0
This is due to server issues. on the device.Your code works just fine. Check if the server (Xampp or any other that you have installed ) is working properly.
4th Jul 2017, 8:37 PM
Ashtuosh
Ashtuosh - avatar