Hi,
kann man mit PHP in einem Text jeden Strichpunkt in ein anderes Zeichen konvertieren?
Natuerlich.
Ich habe es versucht mit z.B.
$neu = str_replace(";", ",", $alt);
aber da wird dann hinter jedes Zeichen ein Komma gesetzt.
Das kann ich nicht nachvollziehen.
echo str_replace(";", ",", "aber; das; gibt's; doch; gar; nicht.");
ergibt
aber, das, gibt's, doch, gar, nicht.
Wie muss ich das richtig machen?
Finde heraus, was du derzeit falsch machst. Anhand deines gezeigten Codes ist das nicht nachvollziehbar.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“