JamesGMills
Programmer
Hi people,
Can I use preg_match to get everything with an : after it from this into an array?
So for example, from this:
* Author: James Mills [james@koodoocreative.co.uk]
* Created: 18 April 2009
Get this:
$myInfo['Author'] (when printed = James Mills [james@koodoocreative.co.uk])
$myInfo['Created'] (when printed = 18 April 2009)
Thanks in advance,
James
------------------------
Can I use preg_match to get everything with an : after it from this into an array?
So for example, from this:
* Author: James Mills [james@koodoocreative.co.uk]
* Created: 18 April 2009
Get this:
$myInfo['Author'] (when printed = James Mills [james@koodoocreative.co.uk])
$myInfo['Created'] (when printed = 18 April 2009)
Thanks in advance,
James
------------------------