fraser5002 Posted March 1, 2010 Share Posted March 1, 2010 Hi i have a variable $var1 where var1 = dog for example i want to then use this variable when a call a url page through an h ref how do i do this i.e something like <a href=" $var1 .htm </a> Thanks Link to comment https://forums.phpfreaks.com/topic/193774-variable-in-page-url/ Share on other sites More sharing options...
arbitter Posted March 1, 2010 Share Posted March 1, 2010 echo "<a href='" . $var . ".htm'>"; ? Link to comment https://forums.phpfreaks.com/topic/193774-variable-in-page-url/#findComment-1019888 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.