View Single Post
Old 02-01-2009, 03:52 AM  
Bird
Confirmed User
 
Bird's Avatar
 
Join Date: Jan 2005
Location: Stockton
Posts: 4,365
any php studs arround

I have been spending houre on this and I can t come up with a solution. I have added a time and date form to one of my sites for an alert count down where the user sets up a countdown to an event. The form results are like this. I cant figure out the loop statement can someone help.
Code:
$a = array ( [0] => date1  ,[1] => date2  ,[2] => date3 ) 
$b  array ( [0] => time1  ,[1] => time2  ,[2] => time3 ) 

$c = array ( [0] =>date1 time1  ,[1] =>date2 time2  ,[2] =>date3 time3 ) //new combined array

looking for the output  like this 2009-05-15 23:59:59

date1 time1
date2 time2
date3 time3
__________________
ICQ:268731675
Bird is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote