|
Posted by briansmccabe on 12/20/05 00:08
>
> ... so $query6 just contains the SQL string, and not a MySQL result set
> resource identifier. You're not actually executing the SQL anywhere, or if you
> are in the rest of the code, you haven't done the error checking there.
I have this part working now. Thanks for your help.
> >later on the page:
> >
> >echo $result6[quant]
>
> This should be: $result6['quant'].
>
> See:
>
> http://www.php.net/manual/en/language.types.array.php#language.types.array.donts
I have tried to figure out how to single-quote the contents of the []
but when it is concatenated in between strings of HTML, it goofs things
up. I cannot remember how to do that. I tried a few things I noticed in
the page you link to above, but I am not getting very far.
Navigation:
[Reply to this message]
|