DB/validate.php - New contribution
| From: | Tom Anderson | Date: | Wed, 12 Dec 2001 18:35:55 +0000 |
| Subject: | DB/validate.php - New contribution | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-3466@lists.php.net to get a copy of this message | ||
I sent this in a few weeks back but the only responce I saw was this:
http://marc.theaimsgroup.com/?l=pear-dev&m=100642284326351&w=2
So here it is again:
Source: http://db.etree.org/source/include/validate.phps
This script uses the DB::tableInfo() function to validate a value against a database allowed value such as strings > db max length or floats vs integer fields.
Email me with any questions.
Tom
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.