Posted by David Gillen on 08/04/07 14:33
Michael Fesser said:
> Explicitly listing all columns in the SELECT statement works
> always.
>
So does SELECT * if you code for it.
$sql = "SELECT * FROM table1";
$query = mysql_query($sql);
while($row = mysql_fetch_assoc($query))
{
echo "Always field 1: " . $row['field1'];
}
So now, where is the problem?
D.
--
Fermat was right.
[Back to original message]
|