add "show details button" to the search results

This commit is contained in:
Andreas Zweili 2017-03-05 12:11:42 +00:00
parent d0d463c5eb
commit adaffd52d5
1 changed files with 6 additions and 2 deletions

View File

@ -45,8 +45,12 @@ date_default_timezone_set('Europe/Amsterdam');
echo "<div class='post-box'><p>";
echo "<strong>" . $row['demandTitle'] . "</strong>" . "<br>";
echo $row['date'] . "<br>";
echo "</p>
</div>";
echo "</p>";
echo "<form method= 'POST' action='show_demand.php'>
<input type='hidden' name='demandId' value='".$row['demandId']."'>
<button>Show Details</button>
</form>
</div>";
}
}else{
echo "There are no results matching your search!";