Results 1 to 4 of 4

Thread: strip out all html tags from a string

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    147

    strip out all html tags from a string

    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); 
    Last edited by penagate; Apr 3rd, 2007 at 12:34 PM. Reason: fixed code tags

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width