Ok... I see a problem.
In your code in the third script:
while (($name, $type, $len) = $sqlquery->fetchrow_array) {
print "<tr><td>$name</td>
<tr>$type</td>
<tr>$len</td></tr>";
}
A couple of those <tr>'s should be <td>'s.
Change it to this:
while (($name, $type, $len) = $sqlquery->fetchrow_array) {
print "<tr><td>$name</td>
<td>$type</td>
<td>$len</td></tr>";
}
And just as a rule, when I run into problems like this, the first thing
I usually do is run the script from the command line. It often helps
you figure out what is and is not going on.
- FrankG |