alguien que por favor me ayude....
tengo este codigo pero en pantalla deberia mostrar 1, 2, 3,4,5 pero muestra 3,4,5
estoy apenas aprendiendo pero creo que el problema radica en el odbc_fetch_into() aunque no estoy 100 % seguro...
Código PHP:
Ver original<html>
<body>
<table width="714" border="1" align="center">
<tr>
<td class="domingo"><strong>Accion</strong></td>
<td class="domingo"><strong>Numero Factura</strong></td>
</tr>
<?php
// --conexion a la base de datos SQL
$dsn = "Driver={SQL Server};Server=MILENIUN\SQLEXPRESS;Database=C04;Integrated Security=SSPI;Persist Security Info=False;";
// --clip--
$ask7 = "SELECT FACNumeroFacturaVentaEncabezadoFacturaVenta FROM FACENCABEZADOFACTURAVENTA";
//echo $result;
$bug_workaround=0;
{
//echo $inquiry[0], $inquiry[1];
echo"<tr><td width=\"3%\"><font face=\"verdana\"><div align=center><a href=\"meco_2.php?factura='".$inquiry["0"]."'\"> Desmarcar</a></td>";
echo "<td width=\"10%\"><font face=\"verdana\">" . $inquiry["0"] . "</font></td></tr>";
}
// --clip-- */
?>
</tr>
</table>
</form>
</body>
</html>