Question

I'm a complete noob, but I'm looking to find a solution to pass onto my developers that does something like this:

http://www.madonnacrusaders.com/hallOfFame.php

OR

http://www.yoteathletics.com/hof.aspx?&tab=0

Basically fill a database with specific attributes (awards, years, sport) and have a specific html biography called.

Any help would be greatly appreciated!

~ Nick

Was it helpful?

Solution

These websites doesn't use jquery to request their database, but rather, use the php language. So, I think you will have to learn how to request a database with this language, using PDO (begining with this page and, after, this) or mysql (begining with this page and, after, this).

OTHER TIPS

jQuery is a client-side solution, and can be used to process the data and create nice visualizations and animations once the data has been supplied by the server. It cannot make database calls.

Your database will reside somewhere on your back-end, and you can query it using whatever language your server is running. You linked to both a php page and an asp.net page, so it sounds like you might not be sure what the application is currently running. If you have a specific question about how to query a database in one of these languages, ask it as a separate question, and be as detailed as possible about what specifically you are trying to do, and in which language.

Once you get the requested records, you can serialize the results as JSON and pass it to the client for processing/rendering. If you're simply rendering tables/lists you can manually parse the object with JavaScript, or use a jQuery plugin to do layout. You can use CSS for formatting at this point.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top