![]() |
Hi kh99,
The issue is actually this, not the preg_match_all. Code:
$p1 = "/BOT report (.*),(.*)/siU"; Any ideas how to get the elements of the array? |
Yeah, check out the description for preg_match_all, the part about the flags: http://us2.php.net/manual/en/functio...-match-all.php. There's two levels of array, but you should be able to get at what you want by using something like $out1[0][0] or $out1[0][1]. Or, if you only expect one match it might be easier to use preg_match() instead.
|
All times are GMT. The time now is 11:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|