preg_match_all frage zu table_of_contents UDT
Posted: Sat Aug 04, 2007 2:11 pm
Hi!
I hat mal den table_of_contents UDT geändert. Funktioniert auch, allerdings nur, wenn auch nur die attribute name oder id vorhanden sind. Wenn ein weiteres attribut hinzugefügt wird, funktioniert er nicht mehr. Kann mir jemand helfen, dass die funktion noch funktioniert, wenn ich beispielsweise noch ein class attribut drinhab, das aber mal vor, mal nach name oder id stehen kann?
preg_match_all("/(.*)/i", $page_contents, $match);
http://wiki.cmsmadesimple.org/index.php ... f_contents
I hat mal den table_of_contents UDT geändert. Funktioniert auch, allerdings nur, wenn auch nur die attribute name oder id vorhanden sind. Wenn ein weiteres attribut hinzugefügt wird, funktioniert er nicht mehr. Kann mir jemand helfen, dass die funktion noch funktioniert, wenn ich beispielsweise noch ein class attribut drinhab, das aber mal vor, mal nach name oder id stehen kann?
preg_match_all("/(.*)/i", $page_contents, $match);
http://wiki.cmsmadesimple.org/index.php ... f_contents