Why does this work?
I would have assumed that row0 and row1 would be printed out as text? But it all works perfectly...
If I were to do the same in classic asp this wouldn't work, it would assume it was all one long string rather than outputting row0 and row1.
Does that make sense?
Code:
while ( $row = mysql_fetch_row($result) ) {
echo("
<tr>
<td>$row[0]</td>
<td>$row[1]</td>
<td>".$row[2]."</td>
<td>".$row[3]."</td>
<td>".$row[4]."</td>
</tr>");
}
I would have assumed that row0 and row1 would be printed out as text? But it all works perfectly...
If I were to do the same in classic asp this wouldn't work, it would assume it was all one long string rather than outputting row0 and row1.
Does that make sense?
