need help creating this function

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
darken1515
Forum Newbie
Posts: 2
Joined: Tue Apr 01, 2008 12:29 am

need help creating this function

Post by darken1515 »

need help creating an array
Last edited by darken1515 on Tue Apr 01, 2008 1:22 am, edited 1 time in total.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: need help creating this function

Post by Christopher »

Code: Select all

$instr='ABc25K3';
preg_match_all('/[a-zA-Z][0-9]/', $instr, $matches);
echo implode('<br/>', $matches[0]);
(#10850)
darken1515
Forum Newbie
Posts: 2
Joined: Tue Apr 01, 2008 12:29 am

Re: need help creating this function

Post by darken1515 »

Thank you
Post Reply