Displaying data from database into a 2 dimensional table


Posted on 16th Feb 2014 07:03 pm by admin

Good day!

I'm a beginner in PHP and I'm not expecting a full coding for this qestion. I'm just looking for hints and pointers as to how to solve this problem so that I can learn it myself.

I have a question here about displaying data from database into a 2 dimensional table. Say I have a 2 dimensional table something like below



And I have a data in the database that corresponds to something like R1C3 and R2C1, how do I display the data on the table so that it looks something like below



Any help would be greatly appreciate.

Thanks and have a nice day

No comments posted yet

Your Answer:

Login to answer
78 Like 30 Dislike
Previous forums Next forums
Other forums

Problem with PHP code- simple contact form
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a contact form wit

problem with query error
First Thanks to those who helped me on my previous posts, and the following code i'm using is not mi

Inter Company -- Resources Related Billing (Services Industry)
Hello,

My company has a scenario where:
Company A bills Company C for INTER (cross

Help If user voted, block them
On my Prayer request site, i let users Click a button to Pray for somone that has posted a pray, i g

downloading a file as HTML
Hi.
I'm rather confused with forcing a download. I just want to save dynamic content (from $_SESS

Grids not displaying decimals, and behaving differently on different PCs?
Hello,

I coded a relatively simple MII application that allows data from a form to be add

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

button help
i originally had this but realised it is much easier to have a button.

Code: <?php

MYSQL INSERT ID NOT WORKING
Code: $id = mysql_insert_id();
header("Location: ./?view=$id");
Why $id pulling blan

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash