Name: Anonymous 2010-01-29 15:33
im not used to this weird array, and im trying to echo the content.
I was running a test on preg_match_all, because im used to running preg_match but found I need to find multiple instances, so i just went with preg_match_all.
$Raw is the array. here is the output.
array(2) {
[0]=> array(2)
{
[0]=> string(12) "this is your"
[1]=> string(14) "this aint your"
}
[1]=> array(2)
{
[0]=> string(2) "is"
[1]=> string(4) "aint"
}
}
Normally I would put "echo $raw[1];", exc. but whats showing up for that is just "Array".
what would I need to put to echo
[0]=> string(2) "is"
[1]=> string(4) "aint"
I was running a test on preg_match_all, because im used to running preg_match but found I need to find multiple instances, so i just went with preg_match_all.
$Raw is the array. here is the output.
array(2) {
[0]=> array(2)
{
[0]=> string(12) "this is your"
[1]=> string(14) "this aint your"
}
[1]=> array(2)
{
[0]=> string(2) "is"
[1]=> string(4) "aint"
}
}
Normally I would put "echo $raw[1];", exc. but whats showing up for that is just "Array".
what would I need to put to echo
[0]=> string(2) "is"
[1]=> string(4) "aint"