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. 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. 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. Link to comment https://forums.phpfreaks.com/topic/277155-php-input-form-help/#findComment-1426012 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.