Código PHP:
function Vkey()
{
$tablaNoticias = "<div id=\"menuNoticias\">";
$sql = "SELECT * FROM search order by num DESC Limit 0,100";
$query = mysql_query($sql);
echo "<form id=\"validarCheckBox\" action=\"\" method=\"get\" name=\"envio\">";
while($row = mysql_fetch_array($query))
{
echo $row["id"] . " - <input id=\"check\" name=\"valido\" type=\"checkbox\" value=\"\"> <a href=\"?o=aprobarb&id=". $row["id"] ."\"><b>Aprobar</b></a> | <a href=\"?o=borrarb&id=". $row["id"] ."\">Borrar</a> " . $row["busqueda"] . "</a> <br />";
}
$tablaNoticias .= "<input name=\"enviat\" type=\"button\" value=\"enviar\"/></form> </div>";
return $tablaNoticias;
}