por lo visto el problema era ese id inexistente...ahora le di un WHERE a la consulta de sumatoria...
Código HTML:
$query2 = mysql_query("SELECT * FROM numero WHERE id=1") or die(mysql_error());
while ($row = mysql_fetch_array($query2)) {
$sumador = $row['sumatoria'];
}
y paso esto:
Código HTML:
Notice: Undefined variable: sumador in C:\wamp\www\noticia\form.php on line 15
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1