| Posted by Phil Latio on 08/09/06 14:57 
How do I use wildcards when searching in array? At least that's what I thinkI need !!
 
 I have the line:
 
 if ($attribute[0] != "id")
 
 The above is not 100% correct because it should also be looking for anything
 ending with id. eg. bookid or authorid aswell as just id.
 
 Should I be looking at regular expressions? I've never covered (well not
 knowlingly) regular expressions before and wouldn't know one if it came up
 and hit me around the face with a wet kipper.
 
 Could someone point me in the right direction.
 
 Cheers
 
 Phil
  Navigation: [Reply to this message] |