worldcomingtoanend Posted March 31, 2010 Share Posted March 31, 2010 I have tried the following but nothing gets displayed: echo "welcome ". $name ."\n <a href='women/mygirls/index.html'>logout</a>\n"; Link to comment https://forums.phpfreaks.com/topic/197152-how-can-i-echo-an-html-link/ Share on other sites More sharing options...
irkevin Posted March 31, 2010 Share Posted March 31, 2010 Maybe like this: <?php echo 'welcome '. $name.'<br />'; echo "<a href='women/mygirls/index.html'>logout</a>"; ?> Link to comment https://forums.phpfreaks.com/topic/197152-how-can-i-echo-an-html-link/#findComment-1034858 Share on other sites More sharing options...
worldcomingtoanend Posted March 31, 2010 Author Share Posted March 31, 2010 thank you irkevin, i really feel so dumb that after coding complicated applications today i get on to get stark on echoing a simple html link...thanks for your kind help......it worked. Link to comment https://forums.phpfreaks.com/topic/197152-how-can-i-echo-an-html-link/#findComment-1034862 Share on other sites More sharing options...
irkevin Posted March 31, 2010 Share Posted March 31, 2010 Haha, i find myself several time in this situation xD .. You're welcome Link to comment https://forums.phpfreaks.com/topic/197152-how-can-i-echo-an-html-link/#findComment-1034863 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.