Tag archives for XHTML

  1. Making HTML XHTML Compliant with PHP

    This is function I found on php.net that changes all HTML tags to lower case. You need this to make your HTML XHTML 1.0 Trans compliant.

    [code language="php"]
    function reformat ($content){
    $content = preg_replace("#(]*>)#e", "'‘\1'.strtolo...