I have a big doubt: $this->Select_Fields .= $value." LIKE '%" . $this->Abluction($this->Search) . "%' OR "; I need the line above contains parenthsis like the result below... Result: (Title LIKE '%search%' OR Category LIKE '%search%' OR Description LIKE '%search%' OR Tags LIKE '%search%) How and where do I insert these parenthesis in the code line? Look forward to your reply! thanks
Any non variable/function should go inside the quotes. If you use double quotes then variables and chars with special meanings such as \r\n can go inside it. if you use single quotes than only string chars can go inside it and all chars will be represented by its literal meaning.
Could you please correct my code with parenthesis? i'm new in PHP programming , I'm sorry! Thanks a lot!!!!!!!!!!
Try this and see if it will work. Just add it right underneath the code you provided, don't replace the code. $this->Select_Fields = "(" . $this->Select_Fields . " ) "; PHP: