Re: Date of Birth From Form
| From: | Duncan Hill | Date: | Fri, 19 Apr 2002 18:28:42 +0000 |
| Subject: | Re: Date of Birth From Form | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18679@lists.php.net to get a copy of this message | ||
On Fri, 19 Apr 2002, Brandon Paul wrote:
> going about it wrong? Any help would be greatly appreciated.
1) Validate that the input is correct.
2) Tokenize the string based on the /s
3) Re-format the date.
Or, use the date functions - I'd swear one of them can re-write dates.