Cita: Cuando relleno los datos y presiono agregar:
if ( $_POST['agregar'] ){
INSERT INTO tabla .....
tablanombres();
}
No lo tienes como yo lo tengo
Tu codigo pudiera quedar haci
Código PHP:
Ver originalif ( !isset($_POST['agregar']) ){
/*
tablanombres();
<form action=' ' method=POST >
FORMULARIO.
<input type='submit' name='agregar' value='Agregar Datos' />
</form>
*/
}
else{
##INSERT INTO tabla .....
##tablanombres();
}