0
I have xampp server & sublime text. Why my php code is not running with html
8 odpowiedzi
+ 3
It is also possible that any other server maybe running on your system( if you have any other server like tomcat installed). In that case, maybe because of same port your server is not working properly. If this is the case then you can either stop that server or check the port numbers of the servers if they are same then change it if possible because two services cannot run on same port.
+ 2
If you are using html form then do add your php file in action attribute of your <form> tag. Also all files should be in htdocs folder present inside the xampp folder. Make sure you start apache in xampp.
+ 2
I hope it helps :)
+ 1
Thanks it is very helpful
+ 1
How do you access the PHP document, what you type in address bar to load it?
Can you copy that code from your computer, save it as PHP code in your profile and share the link on the Description for everyone to see? it might help to identify the problem.
Without a code people can only do wild guessing : )
0
Yes
0
All your php files need to be in xampp/htdocs directory
0
Yes it is apache