In preg_replace case need's to be done like this:
$s = preg_replace('/(\<.*\>)/Uem', 'strtolower("$1")', $s);
If you're using PHP5, you can use the tidy functions -
http://us2.php.net/tidy. The default settings output html tags in
lower-case. For tidy config settings, see
http://tidy.sourceforge.net/docs/quickref.html
Awesome! This is exactly what I was looking for. Thank you very much! :)
thnx,
Ch
Jim Lucas wrote:
Daniel Brown wrote:
On Dec 19, 2007 4:10 PM, Christoph Boget <[EMAIL PROTECTED]> wrote:
I've been looking through the docs but haven't found an internal function
that does what I'm looking for. Perhaps I missed it? Or perhaps someone
can point me in the right direction? I'm
On Dec 19, 2007 6:08 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
>
> Daniel Brown wrote:
> > On Dec 19, 2007 4:10 PM, Christoph Boget <[EMAIL PROTECTED]> wrote:
> >> I've been looking through the docs but haven't found an internal function
> >> that does what I'm looking for. Perhaps I missed it? Or
Daniel Brown wrote:
> On Dec 19, 2007 4:10 PM, Christoph Boget <[EMAIL PROTECTED]> wrote:
>> I've been looking through the docs but haven't found an internal function
>> that does what I'm looking for. Perhaps I missed it? Or perhaps someone
>> can point me in the right direction? I'm looking fo
On Dec 19, 2007 4:10 PM, Christoph Boget <[EMAIL PROTECTED]> wrote:
> I've been looking through the docs but haven't found an internal function
> that does what I'm looking for. Perhaps I missed it? Or perhaps someone
> can point me in the right direction? I'm looking for a routine that will
> c
If you're using PHP5, you can use the tidy functions -
http://us2.php.net/tidy. The default settings output html tags in
lower-case. For tidy config settings, see
http://tidy.sourceforge.net/docs/quickref.html
Brady
On Dec 19, 2007 1:10 PM, Christoph Boget <[EMAIL PROTECTED]> wrote:
> I've been l
I've been looking through the docs but haven't found an internal function
that does what I'm looking for. Perhaps I missed it? Or perhaps someone
can point me in the right direction? I'm looking for a routine that will
convert tags to lower case. For example, if I have
This is the Page
I've been looking through the docs but haven't found an internal function
that does what I'm looking for. Perhaps I missed it? Or perhaps someone
can point me in the right direction? I'm looking for a routine that will
convert tags to lower case. For example, if I have
This is the Page
9 matches
Mail list logo