Validation library for PHP/mysql

Posted by Industrial on Stack Overflow See other posts from Stack Overflow or by Industrial
Published on 2010-05-08T11:56:17Z Indexed on 2010/05/08 11:58 UTC
Read the original article Hit count: 112

Filed under:
|
|
|

Hi!

Is there any lightweight validation library available for PHP that easily can check if a specific string or value is valid for a known database type -

Something like this:

 if (is_MEDIUMINT($var)) {
      $this->db->insert($anothervar);
 }

Thanks!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php