Mailinglisten-Archive |
Zitiere Irani Amir <Amir.Irani_(at)_START.de>:
> wie kann ich den Text lesen und überall wo ein hochkomma vorkommt,
> automatisch noch ein davor setzen ??
$text = str_replace("'", "''", $text);
Aber Achtung! Die "Funktion" nur *EINMAL* auf $text anwenden.
php::bar PHP Wiki - Listenarchive