Menu
Hi, im having problems again…i want to edit the information but it doesnt want to work..
in my edit page i send the information to a .php page that has the UPDATE function…but id doestn edit
<?php require_once(‘Connections/principal.php’);
$passid = $_GET[‘id’];
$pasdoc = $
$pasnom = $_GET[‘nombre’];
$pasdir = $
$miconexion = new Db(“webappdetec”,”localhost”,”webappdetec”,”webappdetecpass”) ;
$miconexion->consulta(“UPDATE clientes SET id= $passid ,doc_id= $pasdoc, nombre = $pasnom , direccion_fact= $pasdir WHERE id = $passid”);
?>
can somebody tell me where is the error?