# Comparison table

**URL:** https://forum.kirupa.com/t/comparison-table/247116
**Category:** Uncategorized
**Created:** [December 18, 2007, 6:00pm UTC](https://forum.kirupa.com/t/comparison-table/247116 "2007-12-18T18:00:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 18, 2007, 6:00pm UTC](https://forum.kirupa.com/t/comparison-table/247116/1 "2007-12-18T18:00:24Z")

</div>

Hello all its me again

I need to make a comparison table for a website i’m building pulling data from a MySQl database using php.

Now i have set up my MySQL tables that hold the data like this

-----cms\_packages----- (holds the package information)  
package\_id  
package\_info

-----cms\_features----- (holds the features)  
feature\_id  
feature\_info

-----cms\_package\_features----- (links the pack to its features)  
package\_id  
feature\_id

now i need to create a table that list the packages and features putting a yes or no if the package has that feature or not.

Now my little brain can’t seem to work this out and i was wondering if any of you lot have done this or something similer.

I do have code but its pointless showing any as its not working.

help ha ha ha 🙂
