Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?if(!empty($_POST['famil']) ){
- if(preg_match('/[^\x{600}-\x{6FF}\w]+/u',$_POST['famil'])){
- echo '<span style="color: red;">*** کاراکتری که استفاده کردید مجاز نیست</span><br style="color: red;">';}
- else{$famil=$_POST['famil'];}}
- else{
- if (isset($_POST['famil'])){
- echo '<span style="color: red;">*** فیلد پر نشده است</span><br style="color: red;">';}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement