when the result print out , i want to make hyperlink for entire column of ID. what should i do?Below was my php code.
//And we display the results
while($result = mysql_fetch_arr ay( $data ))
{
echo "<tr><td>";
echo $result['ID'];
echo "</td><td>";
echo $result['NamaPeralatan'];
echo "</td><td>";
echo $result['Motor'];
echo "</td><td>";
echo $result['Operasi'];
echo "</td><td>";
}
//And we display the results
while($result = mysql_fetch_arr ay( $data ))
{
echo "<tr><td>";
echo $result['ID'];
echo "</td><td>";
echo $result['NamaPeralatan'];
echo "</td><td>";
echo $result['Motor'];
echo "</td><td>";
echo $result['Operasi'];
echo "</td><td>";
}
Comment