in reply to Troubleshooting help...
I consider that not using query parameters is wrong, but that probably has nothing to do with the problem you're seeing.
The only way you should see "1000%" is if you fetch a row whose "utype" field doesn't start with "i" or "h". How certain are you of your data? Are you sure that some fields don't start with "I" or "H". Or are some "s" records sneaking in?
A quick-and-dirty way to get some visibility onto the problem is to add
after you fetch the row. Then, you can view the HTML source to see what you really got.$html_content .= "<!-- " . $aff_row->{utype} . " -->";
Dumping diagnostic info into HTML comments is a trick you can get a log of leverage from.
Update: You're generating bogus HTML, but that's a separate issue. Emit </td>, not </td />.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Troubleshooting help...
by powerhouse (Friar) on Feb 15, 2003 at 18:25 UTC | |
by dws (Chancellor) on Feb 15, 2003 at 19:58 UTC | |
by powerhouse (Friar) on Feb 15, 2003 at 22:09 UTC |