how to remove <> and every thing in it?

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
vin_akleh
Forum Commoner
Posts: 53
Joined: Sat Feb 14, 2009 10:26 am

how to remove <> and every thing in it?

Post by vin_akleh »

if this was in variable $x
<li id="current"><a href="index.php">Home</a></li>
<li><a href="index.php">News</a></li>
<li><a href="index.php">Downloads</a></li>
<li><a href="index.php">Support</a></li>
<li><a href="index.php">About</a></li>
<li><a href="index.php">Bookmark</a></li>
and i want it to become
Home
News
Downloads
Support
About
Bookmark
any one can help :?:
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: how to remove <> and every thing in it?

Post by Weirdan »

Post Reply