Jump to content


Photo

Trying to delete HTML URL's


  • Please log in to reply
1 reply to this topic

#1 kripz

kripz
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 01 June 2006 - 06:44 AM

Im trying to parse some html using php.

It looks similar to this:

<td class="Advanced"><a href="http://www.myhost.com/advanced/1">Package 1</a> </td><td>335 Dollars</td>

<td class="Basic"><a href="http://www.myhost.com/basic/11">Package 11</a> </td><td>33 Dollars</td>

<td class="Basic"><a href="http://www.myhost.com/basic/11">Package 11</a> </td><td>33 Dollars</td><td class="Advanced"><a href="http://www.myhost.com/advanced/1">Package 1</a> </td><td>335 Dollars</td>

I need to strip everything so it only displays:

|Advanced Package|1|335|

|Basic Package|11|33|

|Basic Package|11|33|Advanced Package|1|335|

#2 kripz

kripz
  • Members
  • Pip
  • Newbie
  • 4 posts

Posted 05 June 2006 - 01:02 PM

bump




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users