Bingo!!  I did some PHP re-arrangement and I also do what you were saying
about taking out the quote.  It doesn't work with the quote inside and it
work without the quote.  What so interesting is that the year is actually a
string so I figured that putting it in a sting will work, but I guess not...

Thanks,
 Scott

P.S. Here's the clipping...

--clip--
         $ODBC_RESULT = trim(odbc_result($result,2));
         $ArrayCheck = $ArrayDataCount[$ODBC_RESULT];
         $ArrayCheck += 0;

         if ($ArrayCheck == 0) {
            echo " jsTimeRange[".$ODBC_RESULT."] = new Array(new Array(),new
Array());\n";
         }

         $ArrayCheck++;
         $ArrayDataCount[$ODBC_RESULT] = $ArrayCheck;
--clip--

"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well, I don't remember exactly where was it mentioned.  It involve the
> array, $_SESSION, $_REQUEST, etc.  where there is a double bracket is
being
> mentioned. :-)
>
> Thanks,
>  Scott
>
> P.S. still working on php script.  sigh!
>
> "Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > On Wed, 2003-06-18 at 11:11, Scott Fletcher wrote:
> > > Well, the PHP Manual said we should be using the quote (single or
> double)
> > > inside the array no matter what, it also reduce the side-effect
problem.
> > > It's what I read at php.net in the past.
> >
> > That's referring to string literals, but that might not be all that
> > obvious. I've been fixing the array type page today, so I'll take
> > a look at the wording on this.
> >
> >
> > -- 
> >  Torben Wilson <[EMAIL PROTECTED]>                        +1.604.709.0506
> >  http://www.thebuttlesschaps.com          http://www.inflatableeye.com
> >  http://www.hybrid17.com                  http://www.themainonmain.com
> >  -----==== Boycott Starbucks!  http://www.haidabuckscafe.com ====-----
> >
> >
> >
>
>



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

Reply via email to