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>'; Quote 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! Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.