try (in_array(int($substr($w,1,1)),array(3,4,6,7,9)))

2009/1/16 Matias Gertel <[email protected]>

> What about:
> (in_array($substr($w,1,1),array(3,4,6,7,9)))
>
>
> [ Now playing: "Bandolera" by *Alonso Brito* from "" ]
>
> On 16/01/2009, at 1:18 PM, Michael wrote:
>
>
> ($substr($w,1,1) == 3 || 4 || 6 || 7 || 9)
>
> This piece of code is not working - is there a way to achieve this?
>
>
>
>
>
> >
>


-- 
Nicolaas Thiemen Francken
 Director - Sunny Side Up Ltd
 skype: nicolaasthiemen
 within NZ phone 0800 771 777
 overseas call +64 274 771 777
 [email protected]
 http://www.sunnysideup.co.nz
 - client login: https://rakau.updatelog.com/
 - new quotes: http://www.sunnysideup.co.nz/services
 - please support: http://www.localorganics.net/
 - newsletter: http://www.sunnysideup.co.nz/contact

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to