Help ... please answer this quetion...for start up php programmer..

Discussion in 'PHP' started by kaleelkr, Nov 5, 2009.

  1. #1
    hi friends i want explain my problem with a example..
    In my data base have a text like <a href="http:www.example.com">text</a> ..when i display this data to my web page using echo there showing a link only " text " . i want show that original text no as link..how i do this ...how i ca avoid html tag when i echo text ..
    (sorry for bad english ..:)
     
    kaleelkr, Nov 5, 2009 IP
  2. Freditpl

    Freditpl Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should not have a problem with display data via "echo".
    Could you share piece of your code? How do you get data from database?
     
    Freditpl, Nov 5, 2009 IP
  3. kaleelkr

    kaleelkr Active Member

    Messages:
    278
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    95
    #3
    displaying correct .. i explaining again...

    in data base :
    <a href="http:www.example.com">text</a>

    i am displaying this data to my html page

    result:
    I need result like:
    ..
    not show as link..

    understand?
     
    kaleelkr, Nov 5, 2009 IP
  4. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #4
    JAY6390, Nov 5, 2009 IP