I'm triing to fetch an array out of an MSSQL-result. While the method via PHP shows only an output which is like "0 - A || 1 - ||", a direct control via the Enterprise-Manager delivered an output like "0 - A || 1 - B || 2 -C and so on"
Where are the missing rows?
Flo
-->
$query = "SELECT IDX FROM Table WHERE Field = ".$pidx;
$result = mssql_query($query);
$output = mssql_fetch_array($result);
for ($i = 0; $i < count($output); $i++)
{
echo $i." - ".$output[$i]."<br>";
}
<--