Insert without refresh

Discuss coding issues, and scripts related to PHP and MySQL.
mluci12
Posts: 39

Insert without refresh

Hello!I have this php asp(mluci.com/d/cont.php).If users press "Bookmark" burton he is redirected to a page like(mluci.com/d/bookmark&id=Xx) where Xx id is add in Bookmark table.How can i do this Bookmark insert without page redirect or refresh.

Admin Posts: 805
Hi
You can send data to php without page refresh using Ajax. You can learn it from the: https://coursesweb.net/ajax/ , or you can search on intenet for: " ajax tutorial ".
- For example, here is a tutorial: https://coursesweb.net/ajax/ajax-get-php