All4172 Posted March 5, 2007 Share Posted March 5, 2007 I have a value for a filename called $foo. I want to put the value of $foo in a href but can't seem to get it to work. I've tried this: echo "<a href=\"javascript:poptastic('/email/$foo');\"> < But no luck Link to comment https://forums.phpfreaks.com/topic/41344-solved-a-href-and-foo/ Share on other sites More sharing options...
fert Posted March 5, 2007 Share Posted March 5, 2007 echo "<a href=\"javascript:poptastic('/email/{$foo}');\">"; Link to comment https://forums.phpfreaks.com/topic/41344-solved-a-href-and-foo/#findComment-200319 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.