How can i make this work.
<a href="#" onClick="javascript.functiontoget$date();">'.$date.'</a>
the $date value is inside the while loop
while($row = mysqli_fetch_array($query)){
$date = $row['Date'];
echo '<tr class="normalRow"><td><a href="#" onClick="javascript.functiontoget$date();">$date</a></td></tr>;'
}