Reply to Re: displaying the result of a COUNT query in MySQL

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация