Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Syntax error??
March 28, 2005, 3:53 pm
rate this thread
Re: Syntax error??
On 28/03/2005 18:53, Evan wrote:
The statement (it's two lines :P) has unmatched closing parentheses.
^ ^ ^ ^ ^ ^ ^
1 2 3 2 3 4 3
> || (strstr($query,'M ') );
^ ^ ^ ^
4 5 4 3
The digits show the number of open parentheses. As you can see, you're
left with three by the end of the statement. I imagine that the
opening parenthesis before each strstr function call shouldn't be there.
Replace ".invalid" with ".uk" to reply by e-mail.
- » simple question for grabbing html tags out of string
- — Previous thread in » PHP Scripting Forum