URL in mysql database

Discussion in 'MySQL' started by soldbychris, Sep 27, 2008.

  1. #1
    I upload url links from excel to mysql database.

    Then email out the data, but the urls look like script in the email

    How do you keep in a url link during the process.

    <a href="http://www.google.com" target="new">Google</a>

    Thanks
     
    soldbychris, Sep 27, 2008 IP
  2. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    #2
    I'm not sure I understand, do you think that you may provide some more details or possibly re-word the question.

    Thanks,
     
    ryandanielt, Sep 27, 2008 IP
  3. soldbychris

    soldbychris Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    My database is on Excel.

    I upload it using a mysql uploader to my mysql database

    I have a php script email out the data.

    In the email sent out from mysql database my links are not links but text.

    <a href="http://www.google.com" target="new">Google</a>

    Is it in the setting of the mysql database or do you have to write the link different.

    Thanks
     
    soldbychris, Sep 27, 2008 IP
  4. ryandanielt

    ryandanielt Well-Known Member

    Messages:
    1,797
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    185
    #4
    Perhaps maybe you should try using a loop to write the links into an actual link.
     
    ryandanielt, Sep 27, 2008 IP
  5. soldbychris

    soldbychris Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I placed the url in the mysql but still when it emails out it does not work.

    [WebService(Namespace = "http://google")]

    <LINK rel="Goggle" href="http://www.google.com">

    Nothing works.

    I have even tried importing and setting the field to "varchar" hoping this will work.

    Does anyone have any ideas on how to get this to work properly

    Thanks
     
    soldbychris, Sep 28, 2008 IP
  6. soldbychris

    soldbychris Peon

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok.

    I think this may be to much work to do when I want to update my database

    would inserting a clickable URL LINK in the body of my php page work better
     
    soldbychris, Sep 28, 2008 IP
  7. chathura87

    chathura87 Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Can anyone tell me How to do this;
    When i give the URL to the application it should go to that url and that program should scrap the data from that site! (like title and body and so and so)

    Thank you
     
    chathura87, Oct 1, 2008 IP
  8. SEMSpot

    SEMSpot Peon

    Messages:
    513
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #8
    When you are emailing out the data, you need to send the email as HTML and not text. By sending in straight text, it will not format your URL's properly.
     
    SEMSpot, Oct 5, 2008 IP