For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > December 2005 > problem of retrieving urls from mysql









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author problem of retrieving urls from mysql
Mohamed Yusuf

2005-12-06, 6:57 pm

I would like to store and retrieve urls, but I have problem which is I get
my url + the other url, Instead I should get another url only

$temp = linkurl;
echo "$temp";

the echo prints something like this
http://www.mydomain.com/www.otherlink.com

so I wan get rid off my url and get only other link, so how can I do that?

thanks in advance

citricguy

2005-12-06, 9:40 pm

I ran into this earlier today.

I found that if I did not force it to include http:// or https:// it would simply append the site to the end of my url. try that.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com