mat3000000 Posted October 31, 2010 Share Posted October 31, 2010 Just need a correction on this please, there is a Parse error, think I got the quote marks wrong somewhere? echo "<li>" . <a href="/stock/$stock.htm"> .$Stock . ": " . $Name . "</a></li>\n"; Thanks Link to comment https://forums.phpfreaks.com/topic/217379-help-with-link-to-a-webpage/ Share on other sites More sharing options...
PaulRyan Posted October 31, 2010 Share Posted October 31, 2010 echo '<li> <a href="/stock/'. $stock .'.htm">'. $Stock .': '. $Name .'</a> </li>',"\n"; Try that Regards, Paul. Link to comment https://forums.phpfreaks.com/topic/217379-help-with-link-to-a-webpage/#findComment-1128717 Share on other sites More sharing options...
Pikachu2000 Posted October 31, 2010 Share Posted October 31, 2010 Just in case it isn't intentional, keep in mind that $stock and $Stock are two different variables. Link to comment https://forums.phpfreaks.com/topic/217379-help-with-link-to-a-webpage/#findComment-1128718 Share on other sites More sharing options...
mat3000000 Posted October 31, 2010 Author Share Posted October 31, 2010 Thanks guys, that's sorted it! Link to comment https://forums.phpfreaks.com/topic/217379-help-with-link-to-a-webpage/#findComment-1128730 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.