AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Mar 2, 2006, 16:34   #1
йес эм эли...
 
Mesrop's Avatar
 
Join Date: Feb 2005
Location: near the computer
Posts: 3,203
Rep Power: 4
Reputation: 89
Send a message via ICQ to Mesrop Send a message via AIM to Mesrop Send a message via MSN to Mesrop Send a message via Yahoo to Mesrop Send a message via Skype™ to Mesrop
Сортировка результатов/ 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??
Mesrop is offline   Reply With Quote Quote selected
Old Mar 2, 2006, 19:30   #2
инсценирующий жизнь
 
[ Xelgen ]'s Avatar
 
Join Date: Jul 2002
Location: Fireplace of Ecotopia
Posts: 4,165
Rep Power: 7
Reputation: 64
Send a message via ICQ to [ Xelgen ] Send a message via Skype™ to [ Xelgen ]
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. [ Кселджэн ]
[ Xelgen ] is offline   Reply With Quote Quote selected
Old Mar 2, 2006, 20:28   #3
йес эм эли...
 
Mesrop's Avatar
 
Join Date: Feb 2005
Location: near the computer
Posts: 3,203
Rep Power: 4
Reputation: 89
Send a message via ICQ to Mesrop Send a message via AIM to Mesrop Send a message via MSN to Mesrop Send a message via Yahoo to Mesrop Send a message via Skype™ to Mesrop
Re: Сортировка результатов/ MySQL

anglereni het klni... ay ruseren@...
tveri hamar, chem kara int dnem..
VarChar a.
mej@ text el ka... orinak
"2-ая улица" es kargi...
Mesrop is offline   Reply With Quote Quote selected
Old Mar 2, 2006, 20:53   #4
инсценирующий жизнь
 
[ Xelgen ]'s Avatar
 
Join Date: Jul 2002
Location: Fireplace of Ecotopia
Posts: 4,165
Rep Power: 7
Reputation: 64
Send a message via ICQ to [ Xelgen ] Send a message via Skype™ to [ Xelgen ]
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.
__________________
...ибо...
Rgrdz. [ Кселджэн ]
[ Xelgen ] is offline   Reply With Quote Quote selected
Old Mar 5, 2006, 16:54   #5
Волк, просто волк...
 
_ WOLF _'s Avatar
 
Join Date: Jul 2002
Location: /dev/null
Posts: 250
Rep Power: 7
Reputation: 10
Re: Сортировка результатов/ MySQL

It's so simple...

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

..or use MySQL CAST function!
__________________
00000000h: 41 72 61 6D 20 4D 6B 68 69 74 61 72 79 61 6E;
_ WOLF _ is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySql problem poet Web Development 10 Dec 18, 2005 09:00
MySQL Unicode problem with armenian Aram Ghazanchyan Web Development 6 May 12, 2005 11:11
MySQL Bot Ektich Software Security 0 Jan 28, 2005 08:28
Apache i MySQL + WIN XP = troubles ??? dude Web Development 10 Sep 24, 2002 18:28


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


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link