0
How can I make php file work in my html file?
iam using Acode pro mobile... --the html file name : index.html --and the php file name: test.php All this is two file are in one folder
6 Réponses
+ 2
شول اكيج
You have to make your html file to php file.
+ 2
شول اكيج
Doesn't matter you can have many php files in one folder but your main file should be index.php
+ 2
شول اكيج
There are two statement which allow you to include 1 php file to another php file
1 - using include
2 - using require
You can also call php file on form action like:
<form action = "test.php">
</form>
+ 1
شول اكيج
I never did in Mobile so I can't say anything but yes on PC, you have to do like that.
0
in that way I will have two php ?
Right..
- 1
Did that but the run button disappeared in the app ..iam using mobile in coding..is that ok