Jump to content

populate table column based on timestamp


elp09bm

Recommended Posts

Dear All

 

I want to display my data in tabular columns with the headings of table  like 00:06-00:08,00:08-00:10,00:10:00:12:00........22:00-24:00.i.e.time

In database I have two columns one containing value and other containing time when this reading was done.

I could retrieve data from my mysql table in php and look at time.

I want to know how could I insert the value to the correct column of table based on the time.

e.g If I have record in table in database say containing value 09:45 and 5.

I want this value to go to the column heading 00:08-00:10 and same thing for the other values.

 

I hope I am clear with the problem definition but if you need more info.Please let me know.

 

Thanks,

elp

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.