View Single Post
  #3   (View Single Post)  
Old 16th August 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

DOH! I fixed it! I forgot two "/"'s. It should look like this:

Code:
$must_match = "/^[0-9]{4}\-[0-9]{2}\-[0-9]{2}\ [0-9]{2}\:[0-9]{2}\:[0-9]{2}$/";
All that was needed to be changed was add "/" in front of "^" and after "$". I hate simple mistakes. Let this be a lesson to everyone else.
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote