shutdown511 Posted April 19, 2013 Share Posted April 19, 2013 Hello everyone i need help with a php form because i am quiet new with this, but i need a form that has a question(input) and in order for them to submit it they need to answer it correctly(match a specific phrase of characters)? I know how to have min characters and max characters but it needs to match exactly. Any help would be much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/277155-php-input-form-help/ Share on other sites More sharing options...
Christian F. Posted April 20, 2013 Share Posted April 20, 2013 If you want to match an exact string, then use "==". Regular expressions are for allowing permutations of strings, or in other words: Non-exact matches. Quote Link to comment https://forums.phpfreaks.com/topic/277155-php-input-form-help/#findComment-1425933 Share on other sites More sharing options...
Jessica Posted April 22, 2013 Share Posted April 22, 2013 $10 Op is using a framework/form processing script. Quote Link to comment https://forums.phpfreaks.com/topic/277155-php-input-form-help/#findComment-1426012 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.