0
why can't i get any output with this php syntax?
<html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html> i just created the html file using trebedit on my phone, is there any requirement am missing to run php on my phone, i code using my phone
2 Respostas
+ 5
Trebedit is just a text editor. It cannot run your PHP program. You would have to run a web server and a php interpreter on your phone to properly execute the code.
Maybe there are such apps but I am not familiar with them. I recommend to develop php on a PC, or you can use Sololearn code playground for simple stuff (but it only works online).