Remove/Replace Tags

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cocell
Forum Newbie
Posts: 1
Joined: Wed May 03, 2006 2:16 pm

Remove/Replace Tags

Post by cocell »

I am trying to send a form to a .php file that puts it's inputs into another .html file. But that .html file has <></> tags which I want to remove, replace or just get the information in between the tags. What code can I use to do such a thing? I used Preg_replace and Str_replace and neither worked. Please help.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

I believe there is a striptags() function. Check the manual.
(#10850)
Post Reply