|  | Posted by Ahmed Abdel-Aliem on 01/21/05 18:49 
hiif i have an array
 
 $listing1 = array(array('title'=>'yahoo', 'redirect'=>'www.yahoo.com',
 'info'=>'yahoo website'), array(title=>'msn',
 'redirect'=>'www.msn.com', 'info=>'msn website'));
 
 $listing2 = array(array('name'=>'lycos', 'link'=>'www.lycos.com',
 'description'=>'lycos website'), array(name=>'me2resh',
 'link'=>'www.me2resh.com', 'description'=>'me2resh website'));
 
 how can i group them together into one array to be :
 
 $listing3 = array(array('header'=>'lycos', 'url'=>'www.lycos.com',
 'information'=>'lycos website'), array(header=>'me2resh',
 'url'=>'www.me2resh.com', 'information'=>'me2resh website'),
 array('header'=>'lycos', 'url'=>'www.lycos.com', 'information'=>'lycos
 website'), array(header=>'me2resh', 'url'=>'www.me2resh.com',
 'information'=>'me2resh website'));
 
 and then how can i sort them by the value of information for example
 can anyone help me please with this ?
 
 
 Ahmed Abdel-Aliem
 Web Developer
 www.ApexScript.com
 0101108551
  Navigation: [Reply to this message] |