Re: [PHP] Frustation with data validation

2003-02-23 Thread Joshua Moore-Oliva
any $_POST data is actually string data. Use these functions from a class of mine I plan on making public when I have it thoroughly tested. function isString( $var_name, $var ) { /*Nothing else I can do in this case.. I don't think any other data type can have a length of zero.

[PHP] Frustation with data validation

2003-02-23 Thread Robert E. Harvey, M.D.
First, thanks to all who offered suggestions with my "simple ereg question". I have been unable to get anything to work "properly" in spite of many good suggestions. The problem I want to solve is to ensure that input fields have either an integer number or are blank before the program procee