I am trying to link the result of a list with href so I can pass this data to a variable $value, I am new to PHP any help will be greatly appreciated it.
here is the code;
<?php
print "<table width=61% border=1 align=center cellpadding=4>";
$data = 10;
for ($i=1; $i<=$data; $i++)
{
print "<tr><td><a href="$value=$i">Data: $i</a></td></tr>";
print $value;
}
print "</table>";
?>
Thank you