Thursday 30 August 2018
Subscribe to:
Post Comments (Atom)
$match
with the first $register
and after that, to echo the array$matches = array();
$registration = array();
preg_match_all('#(69\d{8}|21\d{8}|22\d{8}|23\d{8})#', $str2, $matches);
preg_match_all('!<td class="registration">(.*?)</td>!is', $str2, $registration);
foreach ($matches[1] as $match) {
echo $match.'<br>';
}
foreach ($registration[1] as $register) {
echo $register.'<br>';
}
foreach (array_combine($matches[1], $registrations[1]) as $matche => $registration) {
echo $matche." - ".$registration;
}
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment