Hi,
when i print the result of preg_match using
print_r ($matches),the contents of the array are all displayed in one line.
like this?
Array ( [0] => Array ( [0] => Array ( [0] => a [1] => 0 ) [1] => Array ( [0] => b [1] => 1 ) [2] => Array ( [0] => c [1] => 2 ) ) )
how do i display the contents of the array in seperate lines?
Printing the result of regexp
Moderator: General Moderators
- prometheuzz
- Forum Regular
- Posts: 779
- Joined: Fri Apr 04, 2008 5:51 am