southfloridarentalz Posted December 29, 2010 Share Posted December 29, 2010 How do I make this output a clickable link: <?php echo $_POST["website"]; ?><br /> Link to comment https://forums.phpfreaks.com/topic/222948-php-echo-to-link/ Share on other sites More sharing options...
southfloridarentalz Posted December 29, 2010 Author Share Posted December 29, 2010 Figured it out.. <a href=""><?php echo $_POST['website'] ?></a> Link to comment https://forums.phpfreaks.com/topic/222948-php-echo-to-link/#findComment-1152750 Share on other sites More sharing options...
kenrbnsn Posted December 29, 2010 Share Posted December 29, 2010 But clicking on the link, won't take you anywhere, you would have to do: <?php echo '<a href="{$_POST['website']}">{$_POST['website']}</a>'; ?> Ken Link to comment https://forums.phpfreaks.com/topic/222948-php-echo-to-link/#findComment-1152754 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.