Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 28. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Sort by IP Address

phpMyEdit Configuration     Sort by IP Address
Odoslať novú tému   Odpovedať na tému    
 
cmiket     Založený: 08.09.2011   Príspevky: 1  
Príspevok Zaslal: 2011-09-08 20:10
Návrat hore  Odpovedať s citátom     

I would like to use one column for IP Addresses. This is tricky though for sorting. I can run a query from phpmyadmin with
ORDER BY INET_ATON(IP_Address_Column); which will sort the column correctly.

Is it possible to do something like that in this script when sorting by the IP Address column? If so where would it need inserted into the script?
Thanks,

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2011-09-08 22:43
Návrat hore  Odpovedať s citátom     

Delve into MySQL functions and see if such a function exists in MySQL, to impact the sort order. If found, then you could find examples on approximately how to implement the MySQL function ... i.e. searching the forum for CONCAT examples ... and sort of following CONCAT examples to implement a different MySQL function. I think you'll have trouble achieving your goal.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov