Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for ($i = 0 ; $i <= $count ; ++$i)
- {
- if (!preg_match("/^[s&a-zA-Z0-9]*$/", $string_array[$i]))
- {
- exit();
- }
- elseif (!preg_match("/^d+$/", $number_array[$i]))
- {
- exit();
- }
- else
- {....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement