drmota Posted January 29, 2011 Share Posted January 29, 2011 Hey guys, I want to add an achor tag in my php script leading to another php file. Instead of writing the php below it. Code: $content=''; In between of the two "'" i would like to have the file name with its extension: clickpost.php Thanks in advance Link to comment https://forums.phpfreaks.com/topic/226086-anchor-tag-in-php/ Share on other sites More sharing options...
phpSensei Posted January 29, 2011 Share Posted January 29, 2011 Sorry what is it you want to achieve? Link to comment https://forums.phpfreaks.com/topic/226086-anchor-tag-in-php/#findComment-1167107 Share on other sites More sharing options...
Ninjakreborn Posted January 30, 2011 Share Posted January 30, 2011 <?php $content = 'clickpost.php'; $content = '<a href="clickpost.php">Link</a>'; ?> Is that what you mean? Link to comment https://forums.phpfreaks.com/topic/226086-anchor-tag-in-php/#findComment-1167223 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.