Forum Moderators: coopster

Message Too Old, No Replies

<> in php variables

getting strings out of html

         

mifi601

3:34 pm on Jun 18, 2004 (gmt 0)

10+ Year Member



I am tryingt to extract certain elements from a webpage and am running into the problem of <> brackets. Don't know exactly what, but it does not seem to work as regular string charcters. any hunches?

helmet

6:37 pm on Jun 18, 2004 (gmt 0)

10+ Year Member



try using entities:

&gt; for >

&lt; for <

mifi601

8:19 am on Jun 19, 2004 (gmt 0)

10+ Year Member



I was wondering about that, but wouldn't then the variable be the entity instead of the bracket?