Display mysql results on one page

I'm used to working with C # and ASP.NET which automatically allows the database results to be displayed immediately on the same page they were requested from.

I am, however, now using PHP, which I have not coded in years. I have results appearing on a separate page because the "action" parameter of the form tag is set to a specific PHP page. I need these results to appear on the same page that I click the button on. Any ideas?

0


a source to share


1 answer


Set the "action" tag to the current page and move the POST request processing logic to this current page.



+1


a source







All Articles