I went to use this code from a different CodeReview question and got an error saying that there was a preg_match() no deliminator '/' found.
Can someone help me fix it?
The code in question is this statement: if (preg_match($regex, $user_agent)) {
You can find it by going to the bottom of the new, edited version of the code in the question itself, and counting up approx 12 lines (not counting blank lines).
|
|
|||||||||||
|
closed as off topic by codesparkle♦, mseancole, Quentin Pradet, palacsint, sepp2k♦ Jul 13 '12 at 21:14
Questions on Code Review Stack Exchange are expected to relate to code review request within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
|
I don't really use P.S. O and BTW, as codesparkle mentioned, this should have been posted on SO. |
|||||
|