+ 1

PHP forms

Hello Is it possible to create a form with an action that takes place on the current form page. Whereby you do not have to to load another page but things just reload again on the same page producing results below the form. Tried it but its not working i used the $_POST and $_GET interchangeably but its not working. Please help

25th Jun 2019, 4:26 PM
Kumbirai Nicholas Matingo
Kumbirai Nicholas Matingo - avatar
3 Réponses
0
Try with empty action... <form action="" method... ...that should load the same page. But unfortunately it doesn't work in code playground.
25th Jun 2019, 5:01 PM
Johann
Johann - avatar
0
I think it's possible, can you share the code?
25th Jun 2019, 4:53 PM
yuulye
yuulye - avatar
0
yuulye Sure i’ll share the code soon Johann Ditrich thank you let me try to do that
25th Jun 2019, 5:04 PM
Kumbirai Nicholas Matingo
Kumbirai Nicholas Matingo - avatar