MyBB Community Forums
Zaher1988's Plugins / Mods List - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: Zaher1988's Plugins / Mods List (/thread-5320.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32


RE: Zaher1988's Mods List - destroyer - 2006-03-22

ok. Toungue


RE: Zaher1988's Mods List - destroyer - 2006-03-30

Hi, already had time?


RE: Zaher1988's Mods List - zaher1988 - 2006-03-30

wow !Toungue well not for checking that!

well when you order something in sql, it will order it depending on the cronological order of the number, 12345.

so having 1981 is less than 1990 , so that's why it is consedering it as younger

and as the entry is a date format, and not something like 1143749204, this problem will always accure.

but dont loose hope! i will find a way to trun it into time format (1143749204) then compare them.

regards


RE: Zaher1988's Mods List - destroyer - 2006-03-30

Thanks Toungue


RE: Zaher1988's Mods List - Martin M. - 2006-03-31

Well, mysql can sort by ASC and DESC.
ASC is normal, the highest is first. DESC is the oposite.

like this.
mysql_query("SELECT * FROM ".$config['table_prefix2']."downloads ORDER BY id DESC"); id is an table column.


RE: Zaher1988's Mods List - zaher1988 - 2006-03-31

and ??!! this means what ? i have already used this to sort the birthdays, but as i have explained its because of the chronological order of number, the youngest person isnt precised .

regards


RE: Zaher1988's Mods List - laie_techie - 2006-03-31

CraKteR Wrote:Well, mysql can sort by ASC and DESC.
ASC is normal, the highest is first. DESC is the oposite.

ASC is short for Ascending, meaning smallest to largest.
DESC is short for Descending, meaning largest to smallest.


RE: Zaher1988's Mods List - zaher1988 - 2006-04-06




RE: Zaher1988's Mods List - zaher1988 - 2006-04-06




RE: Zaher1988's Mods List - destroyer - 2006-04-06

Hi,

My test user got 2 e-mails.