Hi,
Da die Titellänge vor dem "-" varriert, kann ich keine feste Zahl eingeben, wie kann ich ihm sagen, dass er bis zum "-" anzeigen soll?!
Position des ersten - im Text ermitteln, und als Länge angeben.
Siehe PHP-Manual - Stringfunktionen.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]