Hello!
Well, I have this question that might be a little stupid, I hope you can help me.
Although I've been programing in PHP for quite a while I don't know who to overcome this.
I want my output code to be able to debug, so I just want php to print an end of line every once in a while, but how?
Let's say that i've got something like:
while($row = mysql_fetch_array($result, MYSQL_NUM)){
echo "<td>$row[0] - $row[1]</td>";
}
just as an example.
The output of this would be something like:
...
<td>something</td><td>something</td><td>something</td><td>something</td><td>something</td><td>something</td><td>something</td>
...
How can I get something more easier to read?, like:
...
<td>something</td>
<td>something</td>
<td>something</td>
...
I've tried with something like:
echo "<td>$row[0] - $row[1]</td>\n";
but wouldn't work.
By the way I do my stuff on windoze :queasy: and host it on linux 😃
Any help will be really appreciated!