in reply to Malformed HTML output
can you post a sample of the actual html being printed? Can you log the values if and $yTickLabels{'1'} (using warn sends them to the error_log in Apache, for example) adn examine the output there?
--Bob Niederman, http://bob-n.com
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Malformed HTML output
by simX (Novice) on Jul 24, 2003 at 18:41 UTC | |
See how it just starts out with the option tags at the start? There should be a bunch more code above that that just isn't being outputted. There's more HTML after that, but there's a bunch of JavaScript that would just clutter up the page and wouldn't be useful here. I should note that I can actually check the values of $yTickLabels{'1'} and the other 3 variables by putting it at the end of the HTML output... even though half of the HTML text gets cut off at the top, I can still see the output at the bottom and so I can still see the values of these variables. If you check out a "working" copy of the script here, you'll see the problem in action -- it's much easier to see the problem that way because there's just a bunch of HTML. Simply first load the script, enter "Fe" into the chemical element field, and then press "Apply" at the bottom of the page. You'll then receive the malformed HTML page that I'm talking about. If you look on that page near the bottom, you'll see a line that starts out with "STUPID THINGS:" -- those are the values of $yTickLabels{'1'} and those other three variables, so they are valid. | [reply] [d/l] |