Execute PHP without leaving page
- by Dylan Taylor
Okay. I have a form - textarea (named "su") and submit button.
When the form is submitted, I need to
run a PHP script without refreshing/leaving page
"echo" or somehow print a return on the screen
I'm pretty sure this works via some kind of ajax request thing. but I have no idea what I'm talking about.
I'm not big on ajax or javascript, but this is a function i use very frequently and I'd like to learn how it works so I can implement it when i need to now and in the future.
Like i said I'm uneducated with ajax or java. a quick example would be wonderful.
thanks for taking the time to read!