I’m creating a real estate website for my final year project. I have a page that displays search results using an array. This is how it looks.
[php]$result = mysql_query(“SELECT * FROM property”) or die(mysql_error());
while ($row = mysql_fetch_array($result)){
echo $row[‘short_description’].’’."";
echo ‘’.’’."";
echo ‘’;
echo ‘<img src="’.$row[‘picture1’].’’."";
}[/php]
The thing I want to do is allow the user to click on the short description and be taken to a page that shows the full description based on the link clicked. How can I do this. Please help me guys, I know it’s something simple but I’m really struggling with it.
Thanks in advance