hi,
$x ist eine Variable, die Unterschiedliche Werte haben kann ...
Noch mal explizit gefragt: Handelt es sich also um ein Such_muster_, oder willst du jeweils nur noch einem fixen Literal suchen?
Wenn du für $x = 'a', $x = 'bcd' und $x = 'efghi' also jeweils nur nach 'a.php', 'bcd.php' und 'efghi.php' suchen willst - dann nutze strpos().
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }