PHP Form in HTML

If you don’t know what I am talking about, you certainly don’t have the skills to create a PHP form. I recommend learning PHP, or just grabbing a template like what I linked below:

4 Likes

I want you to help me ! I have an error when i want to send a message (https://www.Romixo.rf.gd)

this button calls this file https://www.romixo.rf.gd/submit.php

and that file not exist (404)

2 Likes

Oh, Sorry
Thx

Doens’t work ! Didn’t receive a message

now you still have to make a check so that all the fields are filled before the button sends it

learn to use browser dev tools

(console)

4 Likes

Everything is filled

you don’t understand me - I just pressed the button and didn’t fill in anything
and your form allowed it

but it is best for you to use the infinity-contact form
from 2. article I linked above

3 Likes

Ah

in order for the php code to run, it must be a php extension and not html


go one step at a time… you’ve come a long way and even the basics are not as they should be

3 Likes

I have another question. Why when i write my domain name, it takes me to the http page instead of the https page

if you want HTTPS always then you need to force it

3 Likes

Don’t know how to do it. My PHP skills are really really bad

then make a simple html like me in which you will use mailto:

where your address will be written where users can contact you

that’s much better than some form !
in which I can’t even insert pictures and is limited by the number of chars, etc.

in addition, mobile users, as well as desktop, are used to their email client
and it’s easier for them to write an email that way than to deal with your form


so in short… forget about PHP and the contact form
rather, you specify an email address that opens automatically their email client when someone taps or clicks on it


Wipe this (and insert “mailto” instead)

5 Likes

Someone know how to create a popup ?

I assume you mean modal

but ok, here is popup

That work in php ?

why do you need php now?

of course it can also work in PHP (it’s html inside php)

javascript and html are executed in the user’s browser

But please use Google in the future, because from the original question you asked a bunch of sub-questions, which no longer has anything to do with the topic or hosting.
Now you ask questions how do you create a website?

2 Likes