oli22 Posted November 12, 2010 Share Posted November 12, 2010 What is the correct way to echo this line??? <php? echo "proceed to <a href= <?php echo urldecode($_GET['url']); ?>> <?php echo urldecode($_GET['title']); ?> </a>"; ?> My Parse error says: Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in C:\Program Files\EasyPHP5.3.0\www\URL_tester\page2.php on line 16 Link to comment https://forums.phpfreaks.com/topic/218459-help-with-writing-this-one-line-and-escaping-characters/ Share on other sites More sharing options...
Pikachu2000 Posted November 12, 2010 Share Posted November 12, 2010 <?php echo "proceed to <a href=\"" . urldecode($_GET['url']) . "\">" . urldecode($_GET['title']) . "</a>"; ?> Link to comment https://forums.phpfreaks.com/topic/218459-help-with-writing-this-one-line-and-escaping-characters/#findComment-1133346 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.