Q
Q
Qsnakes2021-07-17 21:29:11
PHP
Qsnakes, 2021-07-17 21:29:11

Do I need to include php in index.html?

Hello, I’m learning a little about creating sites, and the following question arose, I have a feedback form, I took it on the Internet, but when I try to connect to my site, errors most likely related to php fly out, so the question is whether you need to connect these same ones in any way files, by type<link src='css'> или <script src='js'>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ravshan Khalimov, 2021-07-17
@Qsnakes

Firstly, php script will not work in html file
Secondly, you have to create index.php there, load your php script and call your html in the right place (or just copy and paste it)
Well, of course there are many other options, but try these

N
Northern Lights, 2021-07-17
@php666

phpfaq.ru/newbie/na_tanke

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question