06-29-2009, 05:41 PM
|
#7 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,239
Thanks: 3
|
Quote:
Originally Posted by captainmerton
What would be in the array if $time was 00000000?
|
Try it and find out. A regular expression for something like this would be a much better step towards validation (the explode snippet doesn't validate anything!) and it wouldn't need to be particularly complicated. Have a stab at it.
__________________
salathe@php.net
|
|
|
|