Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

How to Allow Arabic letter in search function

Asked Modified Viewed 862 times
P
PHPar
P
PHPar 10
  • Member, joined since
  • Contributed 118 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Member

Hi ,

i want to ask how to allow Arabic letter in search function


 $search_text = isset($_GET['search_text']) ? $_GET['search_text'] : $this->sortby;
 if ($search_text ) {
 $search_text = stripinput(descript($search_text));
 if (preg_check("/^[-0-9A-Z_@S]+$/i", $search_text)) {

 $this->search_text = $search_text;
 }
 }
 }



see img
PHPar attached the following image:
Image not found
0 replies

1 post

R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Here is the code that creates this table with letters https://github.com/PHPFusion/PHPFusio...#L204-L212
0 replies

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

P
P
PHPar 10
  • Member, joined since
  • Contributed 118 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet