Q695 Posted March 4, 2015 Share Posted March 4, 2015 I'm trying to build a generic data receiving checker. Here is what I have, but it's not working as you would to verify the variable was passed properly by the client: function setter($verify, $pass_value){ if (isset($verify) && $verify!=''){ $pass_value=$verify; echo $pass_value; return $pass_value; } } $_POST['testing'] = "this works"; $verify = '$_POST[\'testing\']'; $pass_value = "\$outputed"; setter($verify, $pass_value); Quote Link to comment https://forums.phpfreaks.com/topic/295068-generic-data-receiving-validation-grabber/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.