how do i make

Discussion in 'PHP' started by sama3l., Jul 30, 2007.

Thread Status:
Not open for further replies.
  1. #1
    a href="http://www.vampyourspace.com">www.Vampyourspace.com - Evil, Vampire, and Horror pictures
    Code (markup):
    to

    <base href="http://www.vampyourspace.com"><a href="/index.html">[url]www.Vampyourspace.com[/url] - Evil, Vampire, and Horror pictures</a>
    Code (markup):
     
    sama3l., Jul 30, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Umm... what?
     
    nico_swd, Jul 30, 2007 IP
  3. sama3l.

    sama3l. Banned

    Messages:
    888
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #3
    see the text box

    <textarea name=\&quot;textarea2\&quot; cols=23 rows=8 class=\"bginput\" onClick=\"this.focus();this.select()\">&lt;a href=&quot;http://www.vampyourspace.com/&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://www.vampyourspace.com/graphics/Gothic/4/$file&quot; border=&quot;0&quot;&gt;&lt;/a&gt;
    &lt;p&gt;&lt;a href=&quot;http://www.vampyourspace.com&quot;&gt;www.Vampyourspace.com - Evil, Vampire, and Horror pictures&lt;/a&gt;&lt;/p&gt; </textarea>
    Code (markup):
    i want to change

    a href=&quot;http://www.vampyourspace.com&quot;&gt;www.Vampyourspace.com - Evil, Vampire, and Horror pictures
    Code (markup):
    into this

    <base href="http://www.vampyourspace.com"><a href="/index.html">www.Vampyourspace.com - Evil, Vampire, and Horror pictures</a>
    Code (markup):
     
    sama3l., Jul 30, 2007 IP
  4. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Base href tag goes in the <head></head> section of your page.

    Then you can use your

    <a href="/index.html">www.Vampyourspace.com - Evil, Vampire, and Horror pictures</a>
     
    ecentricNick, Jul 31, 2007 IP
  5. sama3l.

    sama3l. Banned

    Messages:
    888
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i dont have a head section... and it needs to go in the text box
     
    sama3l., Jul 31, 2007 IP
  6. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Sorry, but I can't work out what you're trying to do, or why, or what it's got to do with PHP
     
    ecentricNick, Jul 31, 2007 IP
  7. sama3l.

    sama3l. Banned

    Messages:
    888
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #7
    see the first
     box thats a text box on the site yes? the second box is what it says now and the 3rd box what i want it to say
    Code (markup):
     
    sama3l., Aug 1, 2007 IP
  8. dpark07

    dpark07 Active Member

    Messages:
    274
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #8
    Here is the solution:

    if you're familiar with PHP and use of its functions,

    html_entity_decode() will convert your html entities into applicable characters.

    for example in php:

    $value = "&lt;a href=&quot;http://www.vampyourspace.com&quot;&gt";

    $usethisvalue = html_entity_decode($value);
     
    dpark07, Aug 1, 2007 IP
Thread Status:
Not open for further replies.