Microsoft
Software
Hardware
Network
Question : Sort elements after explode in php
Hello Experts!
I get just two elements after 'explode', but not sure how to sort them, I have this:
$no="211/09";
$each = explode("/",$no);
and I need a code to get this:
$x1=211;
$x2=09;
Thanks for any help
Answer : Sort elements after explode in php
Simply this:
<?
$x1 = $each[0];
$x2 = $each[1];
?>
Bye
Random Solutions
Cannot run Windows Updates - Error number 0x80072EFF
resize partitions of windows 2003 server
MySQL Query Error: Column count doesn't match value count at row 1
Automatically Connecting Multiple Drupal Sites
How to compact WSS databases with SQL Express
Excel VBA no matter what column I'm in, select the cell in row 5
Calculating RGBA given different RGB colours.
Cisco PIX 501 - Remove static NAT
Calculating totals for an option group
Bottom border of web page in middle of page