How display fetch data on button click using ajax in php ajax?

The index.php

 I created a connection with the database, Then I designed the table through  and . After that, I created a variable $action to get data through AJAX. I then used  mysqli_fetch_array to fetch data from the database.



  
    Homepage
    
    
    
    

    

    

    
       



Add New Data

Chủ Đề

Name Age Email Update