Posted by briansmccabe on 12/20/05 00:05
> ... 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 to 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
>
So if I am echoing the result in between strings of HTML, I am having a
hard time knowing / remembering how to "escape" the single-quote marks
inside the result brackets. Does that make sense?
Thanks
Brian
[Back to original message]
|