Posted by Jerry Stuckle on 03/22/06 06:04
Chris Robb wrote:
> It's really just a standard for loop:
>
> for ($j=0; $j <93; $j++) {
> echo "<OPTION VALUE='blah'>blah</OPTION>"; <---line 54
> }
>
> Line 88 is trying to set some cookies:
>
> setcookie("currentYear","$year"); <-----------line 88
> setcookie("streetName","$streetName");
>
> -Chris
>
You can't set cookies after you've sent ANY output to the browser!
The question isn't why it fails after 94 iterations. The question is
why it works with 93 iterations.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|