im trying to get rid of all html from a string. this is what i have so far
PHP Code:$Data = ereg_replace("/<.*>/i", "", $Data);
Printable View
im trying to get rid of all html from a string. this is what i have so far
PHP Code:$Data = ereg_replace("/<.*>/i", "", $Data);
try
php Code:
$text = "(html code here)"; strip_tags($text);
You could just try strip_tags() :)
-- Ryan
little late there ;)