southfloridarentalz Posted December 29, 2010 Share Posted December 29, 2010 How do I make this output a clickable link: <?php echo $_POST["website"]; ?><br /> Quote 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> Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/222948-php-echo-to-link/#findComment-1152754 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.