S
S
Snewer2017-03-22 22:39:04
MySQL
Snewer, 2017-03-22 22:39:04

How to make selection of various records from various tables on time?

Hello
There are several types of posts on the page (pictures and videos). They are stored in various plates and are described by various models. There is a common field - the timestamp of the time when the record was added, according to which you need to select records together and display them on the page. Depending on the record type - output in different views. (Pagination, of course, is also needed).
What is the best way to implement this?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2017-03-22
@slo_nik

Good evening.
It is possible through communications between tables.
Write connections, make a choice through these connections, and set time through where.
Although it would be better not to navigate by time, but by id, primary key.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question