modificque cosas pero encontre en especifico este error
Código PHP:
$insertSQL2 = "INSERT INTO datoscotizacion (noCotizacion,cantidad,descripcion,tiempoEntrega,precioUnitario,costoTotal,subTotal,total) VALUES ,".$cantidad."";
susituye ese pedaso en mi code que te pase o en el tuyo por este
Código PHP:
$insertSQL2 = "INSERT INTO datoscotizacion (noCotizacion,cantidad,descripcion,tiempoEntrega,precioUnitario,costoTotal,subTotal,total) VALUES ('$noCotizacion','$cantidad','$descripcion','$tiempoEntrega','$precioUnitario','$costoTotal')";
PD. PERDONEN PRO EL DOBLE POST PENSE QUE LE PIQUE EDITAR Y NO CITAR ;s
EDIT:
Mira encontre este otro error
Código PHP:
$noCotizacion = "<script> document.cotiza.noCotizacion.value </script>";
$cantidad = "<script> document.cotiza.noCotizacion.cantidad["+indiceFilaFormulario+"].value </script>";
$descripcion = "<script> document.cotiza.noCotizacion.descripcion["+indiceFilaFormulario+"].value </script>";
$tiempoEntrega = "<script> document.cotiza.noCotizacion.tiempoEntrega["+indiceFilaFormulario+"].value </script>";
$precioUnitario = "<script> document.cotiza.noCotizacion.precioUnitario["+indiceFilaFormulario+"].value </script>";
$costoTotal = "<script> document.cotiza.noCotizacion.costoTotal["+indiceFilaFormulario+"].value </script>";
ponlo asi
Código PHP:
<? $noCotizacion = ?> document.cotiza.noCotizacion.value; <? ; ?>
<? $cantidad = ?> document.cotiza.noCotizacion.cantidad["+indiceFilaFormulario+"].value; <? ; ?>
<? $descripcion = ?> document.cotiza.noCotizacion.descripcion["+indiceFilaFormulario+"].value; <? ; ?>
<? $tiempoEntrega = ?> document.cotiza.noCotizacion.tiempoEntrega["+indiceFilaFormulario+"].value; <? ; ?>
<? $precioUnitario = ?> document.cotiza.noCotizacion.precioUnitario["+indiceFilaFormulario+"].value; <? ; ?>
<? $costoTotal = ?> document.cotiza.noCotizacion.costoTotal["+indiceFilaFormulario+"].value; <? ; ?>
dime como te va con esas modificaciones