'; print_r($matches); echo ''; echo "
"; $encode = json_encode($matches); echo $encode; echo "
"; //echo $matches[0]; $output = implode(",", array($str)); echo $output; echo "
"; $output1 = implode(",", array($matches)); echo $output1; echo "
"; ?>