RE: Translation of html?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there!

Ok, thanx! Then I'll know!

Best regards
/Gustav Wiberg 

-----Original Message-----
From: Bill Bolte [mailto:billb@xxxxxxxxxxxxxxxx] 
Sent: Monday, June 18, 2007 4:32 PM
To: php-windows@xxxxxxxxxxxxx
Subject: RE:  Translation of html?

There isn't anything built in to PHP to do this but one could do it with
Regular Expressions. You might check through the Pear libraries or the
PHP classes website for functions/classes already built. 

-----Original Message-----
From: Gustav Wiberg [mailto:gustav@xxxxxx] 
Sent: Monday, June 18, 2007 9:23 AM
To: 'php windows' (php-windows@xxxxxxxxxxxxx)
Subject:  Translation of html?

Hi there!

Is this possible? I can't find any functions for this (I don't exactly
what to search for)


Translation of

Html-string from 

$str = "<h1>This is a title></h1><table><tr><td>test</td></tr></table>";


To a string that is like:



This is a title

Test





?

Best regards
/Gustav Wiberg

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux