RE: [PHP-DB] problem of retrieving urls from mysql
| From: | Bastien Koert | Date: | Tue, 06 Dec 2005 18:44:08 +0000 |
| Subject: | RE: [PHP-DB] problem of retrieving urls from mysql | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40767@lists.php.net to get a copy of this message | ||
$url = str_replace("www.mydomain.com","",$url)
bastien
From: Mohamed Yusuf <myainab@gmail.com> To: php-db@lists.php.net Subject: [PHP-DB] problem of retrieving urls from mysql Date: Tue, 6 Dec 2005 09:51:18 -0800 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