Anyone else doing php?
I just started out and it strikes me that it looks a lot like a cross between C, java and foxbase code. I've been writing using notepad and Dreamweaver. Are there any other tools for development that I should look at?
<?php
for($i = 0; $i < mysql_num_rows($result); $i++)
{
$row_color = ($i % 2) ? $color1 : $color2;
echo ("<tr bgcolor=$row_color>");
$row_array = mysql_fetch_row($result);
for($j = 0; $j < mysql_num_fields($result); $j++)
{
echo("<td><font size=\"1\" face=\"Verdana\">" . $row_array[$j] . "</font></td>");
}
echo("</tr>");
}
?>
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright