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


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

Why to use action = "#"

11/16/2018 12:29:03 AM


8 Answers

New Answer


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


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....


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


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


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




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


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