Jump to content

A Href Link And Php String Not Working.


derekshull

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.