Home>

Always I am indebted.
Currently, we are developing a website with HTML/CSS/JavaScript.

I developed the top page, company profile, etc. with HTML/CSS/JavaScript.
The inquiry page will be converted to php later,
I am currently developing an inquiry page with php.
Should other top pages etc. be converted to php?
Or is it possible to convert only part of it to php?

I'm a php beginner, so I'm not sure, so I'd appreciate it if you could teach me.
Thank you.

What I tried

1. Developed with HTML/CSS/JavaScript
2. The inquiry page will be converted to php later
→ Except for the inquiry page, it is completed
3. Currently developing inquiry page with php

Supplementary information (FW/tool version, etc.)

PHP version 7.4.9
Jquery version: 3.5.1
VS CODE version: 1.51.1

  • Answer # 1

    Depending on your requirements, it is possible to let PHP handle only the "send email" process, not the page itself.
    Please think (examine and verify) how much you want to use based on "how much you want to leave to the server side".

  • Answer # 2

    Or is it possible to convert only part of it to php?

    Yes. Is possible.

    However, the inquiry form is not so easy, so we recommend using an external service.

  • Answer # 3

    There is no problem, or this is the "greatest advantage of PHP at the entry level".
    PHP is the easiest when you want to process a part from html only on the server side.
    Even if you try to do it in another language, it is surprisingly difficult.

Related articles