Hi there :) I think you just might be missing two curly braces. Like below.

if ($prev_week) {
while(date("W",mktime(0,0,0,$m,$d,$Y))==$week) {
...blababla...
}

}

if ($next_week) {
while(date("W",mktime(0,0,0,$m,$d,$Y))==$week) {
...blablabla...
}

}


Hope this helps, Joe :)


"Markus Lervik" <[EMAIL PROTECTED]> wrote in message
1014290431.26064.10.camel@hal9000">news:1014290431.26064.10.camel@hal9000...
> Hello,
>
> Can anyone tell me what's wrong with line 68? I get a parse error on
> line 68 trying to run this. The strange thing is that it doesn't
> complain about line 54. Either I'm blind, stupid, or there's somehing
> very wrong here. I've checked above line 67 too, but there doesn't seem
> to be any missing brackets or semicolons...
>
> Cheers,
> Markus
>
>
> --------------------
>
>
> 53: if ($prev_week) {
> 54:    while(date("W",mktime(0,0,0,$m,$d,$Y))==$week) {
> ...blababla...
> }
>
> 67: if ($next_week) {
> 68:    while(date("W",mktime(0,0,0,$m,$d,$Y))==$week) {
>   ...blablabla...
> }
>
>
>
>
> --
> Markus Lervik
> Linux-administrator with a kungfoo grip
> Vaasa City Library - Regional Library
> [EMAIL PROTECTED]
> +358-6-325 3589 / +358-40-832 6709
>



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

Reply via email to