ese Valor lo obtengo de aqui $total=mysql_fetch_array($sql);
$fila['id'] vendría siendo el id del cliente que se supone que ya esta registrado... Te muestro el codigo de nuevo
Código PHP:
Ver original<?
include "../conexion/conexion.php";
$sql=mysql_query("select id, ced_rif,nombre from clientes where ced_rif=".$_POST['ced_rif']."",$idconn);
//$total=mysql_fetch_array($sql);
{
//$id_cliente=$fila['id'];
header("location:factura_activa.php?id=".$fila['id']); }
else
{
header("location:form_nuevo_cliente.php"); }
?>