I have a small database containing a large text field. The fields are coming from a user-submitted form. On the index page of my site, I'm displaying the 5 newest latest entries into the database but limiting the text field to 60 characters due to space limitations.
My question is this...how do I dynamically link the $card_number in this statement to a detail page where someone could the read the entire description.
$description=mysql_result($result,$i,"description");
$text = substr($description,0,60);
$date=mysql_result($result,$i,"date");
echo "<FONT size=2><p>Card Number <b>$card_number</b> was entered in $city, $state on $date<br>
Decription: $text ...<p></font>";
</font>";
Any help would be greatly appreciated!
Thanks ~ Eric