Ver Mensaje Individual
  #2 (permalink)  
Antiguo 05/08/2017, 09:01
Avatar de xfxstudios
xfxstudios
 
Fecha de Ingreso: junio-2015
Ubicación: Valencia - Venezuela
Mensajes: 2.448
Antigüedad: 8 años, 10 meses
Puntos: 263
Respuesta: Mostrar datos de registro luego de guardar formulario

Código PHP:
Ver original
  1. if(!$registro)
  2. {
  3. echo"
  4. <script language='javascript'>
  5. alert('ERROR AL GUARDAR DATOS, PROBABLE CLAVE REPETIDA')
  6. window.location='index.html'
  7. </script>";
  8. exit();
  9. }
  10. else
  11. {
  12. echo"
  13. <script language='javascript'>
  14. alert('Registro exitoso ' ".$nombre." 'Presione OK para Continuar)
  15. window.location='index.html'
  16. </script>";
  17. }

Prueba así

por cierto cambia de Mysql a Mysqli porque la primera ya esta depreciada
__________________
[email protected]
HITCEL