<form method="POST" action="#"> | Sololearn: Learn to code for FREE!

+17

<form method="POST" action="#">

Why to use action = "#"

11/16/2018 12:29:03 AM

∆PSI KID MERCY{}

8 Answers

New Answer

+23

It doesn't matter if you use action="", action="#" or if you don't use action attribute at all. All of them refer to the current uri

+5

It is empty placeholder.... When you are using POST (php) method... Entered data is not transferred through link... It is useful for making simple login_page....

+4

Action specifies the file (PHP) you're sending the form's values to. In that file you normally verify that the data is correct and insert it into a database or something

+2

Hello I would like to have a room for discussion in Arabic

+2

Рэйф Miller why are you spamming? If you want to advertise your code, there are separate threads for it.

+1

Извините

+1

actually in form action used to specify the page/destination that where you want to complete your action of this form.

0

Эу <redacted> Здесь запрещено оскорблять кого-либо.