simple array problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tr3online
Forum Newbie
Posts: 16
Joined: Sat Jan 24, 2009 8:02 pm

simple array problem

Post by tr3online »

Hi there, I've new to php and have been reading some tutorials about arrays.

My issue is, I am grabbing some data via preg_match which returns an array as follows
Array
(
[0] => Array
(
[0] => LYRICS=<p align="center"><b>ふたり /
)

[1] => Array
(
[0] => ふたり 
)

)
Can someone instruct me as to how I can get the information stored in the array so I can print just it, or so I can export it to a CSV?

I namely want the ふたり part.
[1] => Array
(
[0] => ふたり 
)

)
Thanks!
tr3online
Forum Newbie
Posts: 16
Joined: Sat Jan 24, 2009 8:02 pm

Re: simple array problem

Post by tr3online »

awesome, thanks so much.
I figured it would be something simple ;)
Post Reply