Getting data from multiple db-tables

Getting data from multiple db-tables

verbaverba Posts: 1Questions: 0Answers: 0
edited April 2012 in General
Hi all! I'm very new to DataTables and I'm trying to figure out how to get data from multiple mysql tables. I can get it just fine from one table but I am doing this stats-site that requires me to get data from multiple db-tables to show up in one html table. Is this possible?

Replies

  • allanallan Posts: 63,810Questions: 1Answers: 10,516 Site admin
    Sure it is - have you used JOINs in SQL before? That's what you want to use to get information from multiple tables. A bit outside the scope of this forum since its SQL rather than DataTables Javascript (although obviously related :-) ) - but this link might help you get started: http://en.wikipedia.org/wiki/Join_(SQL)

    Allan
This discussion has been closed.