Perhaps try using the value of $search somewhere in your code? A second grep would be good.
Also, be sure to sanitize your input or it will run arbitrary code many times.
In reply to Re: Search for text from user input
by Anonymous Monk
in thread Search for text from user input
by Nathan_84
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |