Sorting IP Address
Last Updated on Sunday, 10 January 2010 15:34 Written by Zack Sunday, 03 January 2010 14:37
PHP မွာ IP Address ေတြကို sorting လုပ္လို႕ရတဲ့ function ကို လိုက္ရွာရင္း natsort ဆိုတဲ့ function ကိုသြားေတြ႔တယ္။natsort($a);
For eg;
<?php
$a = array('100.200.300.400', '100.50.60.70', '100.8.9.0');
natsort($a);
echo implode(' < ',$a);
?>
| < Prev | Next > |
|---|
Latest Post
- An Error Was Encountered The action you have requested is not allowed.
- Your security preferences allow installation of only apps from the Mac App Store and identified developers.
- DhammaHive v1.1 is available at Google Play
- Sorry
- Unable to execute dex: Java heap space Java heap space
- Why always select Page 1 at CodeIgniter Pagination?
- Paypal Integration in Titanium
- Animation in Android
- Marquee in Android
- Disable Babylon Search from FireFox New Tab
Categories Table View
- Reader's Conner (143)
- PHP (49)
- Joomla CMS (48)
- Mobile Development (32)
- Codeigniter (21)
- iDhamma (13)
- jQuery (12)
- DhammaDroid (6)
- PHP & AJAX (4)
- For Mac (4)
- Apache (3)
- Titanium (3)
- mySQL (2)
- DhammaHive (2)