i was trying to get the first and last word of element in array, i've tried this code but it didn't get the proper result
foreach(unserialize($q['qlite']) as $qkey => ql)
{
foreach($ql as zp)
{
$response = $zp[0];
echo '$response';
}
}
and this is the result i got array( [0] => michael jordan is the best player of all time [23] => 23 )
what i want is to get the first value "michael" and the last value "time"