Armenian Knowledge Base  

Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Web Development
Register

Reply
 
LinkBack Thread Tools
Old 02.03.2006, 17:34   #1
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default Сортировка результатов/ MySQL

unem mi 320 toxani cucak, mysql -i mej Ruseren Windows-1251 -ov havaqac.
ORDER -ov vor talis em dasavori, motavora dasavorum, aysinqn arajin mi 3 tarerov a dasavorum.
isk tvernel dnuma skzbic 10 -@, heto 2 -@, heto 30 ... (PHP -um natcasesort -ova, bayc SQL -um cgidem)

chka ORDER -ic aveli lav dasavorelu hraman??
Reply With Quote
Old 02.03.2006, 20:30   #2
инсценирующи
 
[ Xelgen ]'s Avatar
 
Join Date: 07 2002
Location: Fireplace of Ecotopia
Age: 31
Posts: 4,327
Downloads: 22
Uploads: 0
Reputation: 193 | 4
Default Re: Сортировка результатов/ MySQL

Hm.. tver parunakogh dashty qo mot inci tipi e?
Dir tvain tip, integer kam en inch aveli shat e sazum qo depqum..
Et probley petq e vor verana.
Isk Anunneri het, chgitem, im mot anglereni het tenc xndir chi eghel, u yst tramabanutian cyrilicn el chpetq e vor tenc xndirner unena..

Che urish metodner chkan, ORDER BY ev GROUP BY (bayc verjiny papuk asac urish ban e anum)
__________________
...ибо...
Rgrdz. [ Кселджэн ]
Reply With Quote
Old 02.03.2006, 21:28   #3
полюбому йес эм...
 
Mesrop's Avatar
 
Join Date: 02 2005
Location: near the computer
Age: 26
Posts: 3,243
Downloads: 3
Uploads: 0
Reputation: 129 | 3
Default Re: Сортировка результатов/ MySQL

anglereni het klni... ay ruseren@...
tveri hamar, chem kara int dnem..
VarChar a.
mej@ text el ka... orinak
"2-ая улица" es kargi...
Reply With Quote
Old 02.03.2006, 21:53   #4
инсценирующи
 
[ Xelgen ]'s Avatar
 
Join Date: 07 2002
Location: Fireplace of Ecotopia
Age: 31
Posts: 4,327
Downloads: 22
Uploads: 0
Reputation: 193 | 4
Default Re: Сортировка результатов/ MySQL

Quote:
Originally Posted by Mesrop
tveri hamar, chem kara int dnem..
VarChar a.
mej@ text el ka... orinak
"2-ая улица" es kargi...
Indz tvuma et depqum normal sirun lucum mian MySQLi ujerov chez karogh anel, kam tvyalnerid struktruan pordzi poxes. Chgitem te konkret qo mot inch xndir e.
Reply With Quote
Old 05.03.2006, 17:54   #5
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: 07 2002
Location: /dev/null
Age: 72
Posts: 250
Downloads: 0
Uploads: 0
Reputation: 0 | 0
Default Re: Сортировка результатов/ MySQL

It's so simple...

SELECT * FROM `your_table_name` ORDER BY your_field_name+0;

..or use MySQL CAST function!
Reply With Quote
Sponsored Links
Reply

Thread Tools


На правах рекламы:
реклама

All times are GMT. The time now is 08:18.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.