Execute PHP without leaving the page
P粉561323975
P粉561323975 2023-10-23 19:05:06
0
1
889

I have a form - textarea (named su) and submit button.

After submitting the form, I need

  1. Run PHP script without refreshing/leaving the page
  2. "echo" or print the return in some way on the screen

I'm pretty sure this can be achieved with some kind of ajax request. But I don't know what to do.

Like I said, I have no education in ajax or java. A simple example would be great.

P粉561323975
P粉561323975

reply all(1)
P粉184747536

It's very simple, it's the so-called AJAX. This solution uses Javascript more than PHP.

With Jquery you can do it with a simple function call:

sssccc

sssccc

Successful.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template