Jump to content

Recommended Posts

Hello, I'm really hoping someone can help with a solution to a problem I have...

 

I have a comments box that records input with date, time and username. This is displayed in order of date and record in one table. E.g.

 

Username: Khalid
Comment: Hello
Date: 27th July 2011 13:00

 

I have another table that records financial values via a different input area. E.g.

 

Username: Khalid
Gross Sale: £5,000
Loan Value: £2,500
Cash Value: £2,500
Date: 27th July 2011 13:00

 

I want to be able to mix the tables in some form so when a financial value is recorded it is displayed as a comment in the comments table.

 

The financial values are on a separate table so they can be pulled and statistics formed of total sales etc.

 

Can anyone suggest a way so that either the financial value(s) are duplicated as a comment or inserted as a comment but also accessible for the creation of statistics etc?

 

Thanks in advance!

 

 

Link to comment
https://forums.phpfreaks.com/topic/242734-mixing-tables-in-chronological-order/
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.