/ Published in: PHP
ISO-8859-1 (Latin 1) full with all special characters: results in
TRY THIS: ÄÖÜß
Expand |
Embed | Plain Text
<?php function fullUpper($str){ // convert to entities $pattern = '/&([a-z])(uml|acute|circ'; $pattern.= '|tilde|ring|elig|grave|slash|horn|cedil|th);/e'; $replace = "'&'.strtoupper('\\1').'\\2'.';'"; // convert from entities back to characters foreach($htmltable as $key => $value) { } } ?>
You need to login to post a comment.
