Cita:
Iniciado por xchavezx
sigue igual...
osea me trae los datos...pero no los nombres de las columnas en sql.
ahora em dice
Warning: array_values() [function.array-values]: The argument should be an array in C:\AppServ\www\query\query.php on line 60
for($i=0;$i<mssql_fetch_assoc($result);++$i)
{
$row = array_values($result);
echo '<tr></font></b>';
for($reg=0; $reg<sizeof($row); $reg++){
echo '<td bgcolor=#ffffff width=50><center><FONT SIZE=2 face=Arial font color=black>';
echo $row['$reg'];
echo '</td>';
}