PHP forms | Sololearn: Learn to code for FREE!

+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

php

6/25/2019 4:26:45 PM

Kumbirai Nicholas Matingo

3 Answers

New Answer

0

Try with empty action... <form action="" method... ...that should load the same page. But unfortunately it doesn't work in code playground.

0

I think it's possible, can you share the code?

0

yuulye Sure i’ll share the code soon Johann Ditrich thank you let me try to do that