How to update a web page without reloading the web page using AJAX?

后端 未结 4 649
不思量自难忘°
不思量自难忘° 2021-01-14 10:38

I\'m trying to update info that a users entered in to a mysql database using php without reloading the web page how can I do this an example or tutorials will be nice.

4条回答
  •  北恋
    北恋 (楼主)
    2021-01-14 11:07

    This question is about taking an email address from a user, adding it to a database (or otherwise processing it with php), and updating the web page without reloading the page, ajax style:

    Javascript/css/php/mysql to collect user email addresses in a div on a website

    The answer to that question should provide a good template for what you're looking for.

提交回复
热议问题