Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adnanhyder/ajax
ajax based Post retrival by user
https://github.com/adnanhyder/ajax
ajax-call ajax-form ajax-request ajax-search mysqli mysqli-connection mysqli-database
Last synced: about 1 month ago
JSON representation
ajax based Post retrival by user
- Host: GitHub
- URL: https://github.com/adnanhyder/ajax
- Owner: adnanhyder
- Created: 2020-03-01T19:47:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T19:52:41.000Z (almost 5 years ago)
- Last Synced: 2023-08-09T21:58:10.444Z (over 1 year ago)
- Topics: ajax-call, ajax-form, ajax-request, ajax-search, mysqli, mysqli-connection, mysqli-database
- Language: TSQL
- Size: 1.54 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ajax
ajax based Post retrival by user
• Create a Test folder in your localhost APACHE server.
• First Create two tables in MySql one with user info and second with user post.
• Insert at least 100 random users in user info table and second insert 100 posts per user that’s mean total 10,000 posts in user post table.
• Export your database and download that file with the name of your database
• Username must be ‘root’ and password must be ‘’
• Create three files index.php, fetch.php, and template.html
• In index file create a drop-down list where every user is mentioned When we select that user all posts related to that user will appear on the page with the help of ajax.
• fetch.php used for database purpose and get the output in the form of JSON
• After that push that JSON to template file and show the result on the index page.