derekshull Posted October 19, 2012 Share Posted October 19, 2012 I need help with this code. I want this to make the link go to another page but its not making $id be the number. What am i doing wrong? $id = $frows['ID']; $string = substr($fdescription,0,80).'... <br><a href="node/viewaneed.php?id=$id">Click Here to View Need</a>'; Link to comment https://forums.phpfreaks.com/topic/269703-a-href-link-and-php-string-not-working/ Share on other sites More sharing options...
derekshull Posted October 19, 2012 Author Share Posted October 19, 2012 Nevermind figured it out thanks! Link to comment https://forums.phpfreaks.com/topic/269703-a-href-link-and-php-string-not-working/#findComment-1386498 Share on other sites More sharing options...
Barand Posted October 20, 2012 Share Posted October 20, 2012 Mark it as "Solved" then. Link to comment https://forums.phpfreaks.com/topic/269703-a-href-link-and-php-string-not-working/#findComment-1386500 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.