Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Promoted
Sean K
Lv 5
PHP - How to create hyperlink from string?
Lets say I have a string called:
$url = "http://yahoo.com";/
How can I convert the variable $url to a clickable hyperlink?
Thanks
1 Answer
Relevance
- 1 decade agoFavorite Answer
echo "<a href=\"".$url."\">The Name of the Link</a>"
A period is the concatenation operator.
Source(s): Personal Experiance
Still have questions? Get your answers by asking now.