Re: Need someone with a fresh mind on tacking this arrayproblem...
| From: | Scott Fletcher | Date: | Wed, 18 Jun 2003 18:11:53 +0000 |
| Subject: | Re: Need someone with a fresh mind on tacking this arrayproblem... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152039@lists.php.net to get a copy of this message | ||
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.
"Lars Torben Wilson" <torben@php.net> wrote in message
news:1055957567.845.129.camel@ali...
> On Wed, 2003-06-18 at 10:32, Scott Fletcher wrote:
>
> [snip]
>
> > if ($ArrayCheck == 0) {
> > $ArrayDataCount['$ODBC_RESULT'] = "0";
>
> What happens when you remove the single-quotes? You're currently
> defining only one array value, with the key being the literal string
> '$ODBC_RESULT'--when you probably want to be using the contents of
> $ODBC_RESULT.
>
> I haven't tested it, but it's the first thing I see.
>
>
> Hope this helps,
>
> Torben
>
>
> --
> Torben Wilson <torben@php.net> +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
> ====-----
>
>
>