>"Anders mellström" <[EMAIL PROTECTED]> a écrit dans le message
news: [EMAIL PROTECTED]
>Hello. I can't get this code to work. The error message I get is that the
header could be added, cause it has allready >been sent. What shalll I do to
get it to work?
Please have a look at http://www.php.net/manual/en/function.header.php.
>From online help : "Remember that header() must be called before any actual
output is sent, either by normal HTML tags, blank lines in a file, or from
PHP"
So you would test your variable $i BEFORE the <html> tag.
Regards,
Philippe




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to