Sylvain Beucler wrote:
> 
> you need to detect suffixes, so checking the complete name won't
> work.

That's what I thought I'm doing -- according to my (uneducated)
reading, $list_name['new'] is esaxtly the suffix in
[EMAIL PROTECTED]  Of course I may be wrong, but I can't see
what's the right suffix to compare with, if that's not it.

> Also 'a = ("join" || "leave")' won't work, you need to use the full
> 'a == "join" || a == "leave"'.
> 
> I think you can use "php -l" to check syntax.

Thanks, I didn't know this; however with my change it returns:

No syntax errors detected in index.php

(I just installed the php5-cli package to test this.)


Reply via email to