3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $nombre=$_POST['Emp']; //conexion con la base de datos y el servidor $link = mysqli_connect('localhost','icolmen','Farofa2010','abc_db'); //or die ("<h2>No se encuentra el servidor</h2>"); //mysqli_select_db($link,"abc_db") //or die ("<h2>Error de conexion</h2>"); //obtenemos los valores del formulario mysql_query("INSERT INTO nombre VALUES('$nombre')",$link); ?>
based on ZnKOR
Output for 7.0.0 - 7.2.0
Notice: Undefined index: Emp in /in/bpb6r on line 2 Fatal error: Uncaught Error: Call to undefined function mysqli_connect() in /in/bpb6r:5 Stack trace: #0 {main} thrown in /in/bpb6r on line 5
Process exited with code 255.
Output for 5.3.18 - 5.6.28
Notice: Undefined index: Emp in /in/bpb6r on line 2 Fatal error: Call to undefined function mysqli_connect() in /in/bpb6r on line 5
Process exited with code 255.