Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other “Clearing” a link

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39348
    robbinj
    Member

    Hey
    I have a problem, I want a link to be set with php (the address of the link).
    I have it all working, and I use this code in my php:

    ';

    The problem is if I for example set the link to http://www.google.com from my database, the link will turn out to be http://www.thesite.com/www.google.com.

    How do I “clear” the link from its “www.thesite.com”? (So it will only be the value set from the database)

    This is probably an easy task but my brain is working against me :(

    Did a little thinking, is it because I have the site located in a folder and not directly in my root?

    #107782
    robbinj
    Member

    Thank you, so stupid of me.

    Guess I need to take a break from this for a while lol :)

    #107789
    robbinj
    Member

    So true, that’s why I love forums like this with kind people to help me out when needed :)

    Thanks again :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.