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?




--~--~---------~--~----~------------~-------~--~----~
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