Posted by cbmeeks on 01/18/07 16:50
Nevermind!
I'm an idiot.
It's D not d
http://www.codershangout.com
cbmeeks wrote:
> Arg!
>
> In this code:
>
> $fn = 'demo-640x480.jpg';
>
> $pattern = '/\d+/';
>
> $matches = preg_split($pattern, $fn, -1, PREG_SPLIT_NO_EMPTY);
>
> print_r($matches);
>
>
> give me:
>
> Array ( [0] => demo- [1] => x [2] => .jpg )
>
> why do I not get 640 480??
>
>
>
> http://www.codershangout.com
[Back to original message]
|