[thelist] PHP - Can write to [head] tag?
Andrew Forsberg
andrew at thepander.co.nz
Thu Mar 7 02:49:01 CST 2002
> or just define a function that just print's out the html as above.
> Better still, get into templates, they'll make your life /way/ easier...
Totally true Nick, but baby steps to start with until the problem is
identified. :) Templates won't help in this case, considering the problem
was with the wrong sort of mysql access function.
Cheers
Andrew
<tip type="PHP Debugging">
Step zero: check and double check the syntax.
Step one: as with anything else, localize the problem as closely as
possible.
Step two: output the variabes with var_dump($GLOBALS); to track down where
they've disappeared.
Step three: email the smallest possible chunk of code to recreate the error
to evolt or peers. :)
</tip>
More information about the thelist
mailing list