0

I am trying to display data from a database using jquery/php,I want to display all the data from the database, when the page is loaded is it possible to do this using jquery onload to call a php function. than I am using jquery post to search through the data .

1

2 Answers 2

0

I think that you are looking for system named AJAX. Link for more info: http://www.w3schools.com/ajax/ and http://www.w3schools.com/jquery/ajax_ajax.asp

Sign up to request clarification or add additional context in comments.

Comments

0

Yes its possible. You can use jquery-ajax on load to call the PHP file having that function and then display the returned data in HTML. Here's a tutorial:

Learning jQuery-Ajax-PHP

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.