If i'm going to query mysql with this:
mysql_query("INSERT INTO subscribers (email, referral_id, user_id, ip_address)
VALUES ('$user_email', '$user_refer', '$user_share', '".$_SERVER['REMOTE_ADDR']."')");
How can I check those variables (eg $user_mail), that has been just read from $_REQUEST["user_mail"], respects their MySql type (varchar(30) notnull)?
Once I saved all $_REQUEST
in $vars
are there any fast function to check MySql types?