Código PHP:
Ver original
<html> <head> <title>Formulario HTML</title> </head> <body> <form action="insert.php" method="post"> Nombre: <input type="text" name="nombre_form"><br> Apellido: <input type="text" name="apellido_form"><br> <input type="submit" value="Registrar"/> </form> </body> </html>
Código PHP:
Ver original
<?php $nombre = $_POST['nombre_form']; $clave = $_POST['apellido_form']; /* VALUES ('{$nombre}', '{$apellido}')", $conexion"); */ VALUES ('$nombre', '$clave',' $conexion'); ?>
( ! ) Fatal error: Call to undefined function VALUES() in C:\wamp\www\insert.php on line 8
Call Stack
# Time Memory Function Location
1 0.0008 369040 {main}( ) ..\insert.php:
alguien me puede decir cual es el error ?

gracias a todos