apps:php
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
apps:php [2011-02-09 21:52] – php renamed to apps:php root | apps:php [2014-06-17 21:08] – translation, hint str_replace root | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== PHP ====== | ====== PHP ====== | ||
- | == Umlaute ersetzen | + | == Replace umlauts |
+ | |||
+ | **!! This is really old, don't use it !!** // see comment below // | ||
function convertUmlaute($text){ | function convertUmlaute($text){ | ||
Line 28: | Line 30: | ||
} | } | ||
+ | This function uses preg_replace, | ||
+ | $text = str_replace(" |
apps/php.txt · Last modified: 2014-12-18 20:08 by 127.0.0.1