Posts: 60
Location: Victor Harbor, South Australia
|
i need to know this fairly quickly so if anyone could help me i would very very appreciative
ok i have this string in php
Code:
START
New York
END
START
London
END
START
Sydney
END
START
Tokyo
END
i need a short php script that involves regex that goes through that string and returns an array something similar to
PHP Code:
[0] => "New York"
[1] => "London"
[2] => "Sydney"
[3] => "Tokyo"
i will be very thankful to whoever can help me out
__________________
Please login or register to view this content. Registration is FREE
Im new here so play nice :)
|