codehaven - php snippets - coding help
Generic filters
Exact matches only

Sweet Alert text input and save to a database

30th October 2020

Jquery - Ajax

jquery icon

Sweet Alert text input
The code below will save the input from Sweet Alert and save this to a database.
You need to prepare the MySQL saving page (addpage.php) and collect post data ‘pagename’
I have added my sweet alert cdn

Hope this works for you.

Was this code snippet helpful?