Any ideas how to work this, or suggesions for marking an individual record to then post it's id?
thanks
Code: Select all
$linkid=dbconnect("db");
mysql_select_db("db");
if(!($result = mysql_query("SELECT * FROM table WHERE id = '$id'"))) die ("Result error");
{
echo "<table>\n";
while ($myrow = mysql_fetch_array($result))
{
printf("<tr><td>%u</td><td><input type='checkbox' name='box2[ ]' value='$id'></td><td>%s</td><td>%s</td></tr>\n",
$myrow["id"],$myrow["descr"],$myrow["batno"],"]);
}
echo "</table>\n";
}//endwhile
}//endif