I have the following code:
$search = '3,39,49,5,5,2012';
$search = mktime($search);
echo $search;
That just outputs the current timestamp, not the one for the date specified. However if I do the following:
$search = mktime(3,39,49,5,5,2012);
echo $search;
It outputs the correct timestamp, 1336203589. Any ideas?