Question regarding MySQL and dialogs.
#1

alright,

Say a table in MySQL was called criminal records

Alright, if someone has a row in there it contains information regarding their criminal record.

I.e crime, officer arranged, time, date etc.

So...

If I do a MySQL query and it finds that there are 2 rows (records) matching that persons name then how could I make a maximum of 10 display in a dialog?

Like this:

Showing LATEST 10 records:
Crime here
Crime here.


Because they only have two records how can I like only make it show 2, as in if the maximum is 10 how can I SHOW the latest 10 or most recent, without showing them all, I'm confused by this...
Reply


Messages In This Thread
Question regarding MySQL and dialogs. - by Dokins - 14.12.2013, 02:31
Re: Question regarding MySQL and dialogs. - by Toni - 14.12.2013, 02:47
Re: Question regarding MySQL and dialogs. - by Dokins - 14.12.2013, 03:26
Re: Question regarding MySQL and dialogs. - by Toni - 15.12.2013, 01:35
Re: Question regarding MySQL and dialogs. - by Dokins - 15.12.2013, 01:40
Re: Question regarding MySQL and dialogs. - by Toni - 15.12.2013, 01:47
Re: Question regarding MySQL and dialogs. - by Dokins - 15.12.2013, 01:53

Forum Jump:


Users browsing this thread: 1 Guest(s)