pagina 01: donde te pide buscar el datos que solicitas y vas modificar
pagina 02: donde se carga los datos como tipo formulario y en donde puede modificar los datos.
pagina 03: donde esta el codigo php que hace modificar y muestra la leyenda "LOS CAMBIOS FUERON EFECTUADOS"
Este es el código que esta en la pagina 03
Código PHP:
<?php
require_once('../../../../imagen/config.php');
$conexion=mysql_connect(DB_HOST, DB_USER, DB_PASSWORD) or die("Problemas en la conexion");
mysql_select_db(DB_DATABASE,$conexion) or die("Problemas en la selección de la base de datos");
$registros=mysql_query("update bd_vehiculoj SET Nombres='$_REQUEST[Nombres]', Cedu1='$_REQUEST[Cedu1]',Cedu2='$_REQUEST[Cedu2]',Marcav='$_REQUEST[Marcav]',Modelov='$_REQUEST[Modelov]',Anov='$_REQUEST[Anov]', Peso='$_REQUEST[Peso]', Puesto='$_REQUEST[Puesto]', Observacion='$_REQUEST[Observacion]', Usov='$_REQUEST[Usov]', total='$_REQUEST[total]', total1='$_REQUEST[total1]', total2='$_REQUEST[total2]', total3='$_REQUEST[total3]', tax='$_REQUEST[tax]', Uano='$_REQUEST[Uano]', Usov1='$_REQUEST[Usov1]', Usov1='$_REQUEST[Usov1]', Proce='$_REQUEST[Proce]', Tasa='$_REQUEST[Tasa]', subtotal='$_REQUEST[subtotal]', Placa ='$_REQUEST[Placa]', Patente='$_REQUEST[Patente]' where total='$_REQUEST[totalviejo]' and id ='$_REQUEST[id]'",$conexion) or
die("Problemas en el select:".mysql_error());
echo "LOS CAMBIOS FUERON EFECTUADOS. REIMPRIMA LA PLANILLA";
?>