Reply to Re: displaying count

Your name:

Reply:


Posted by peter on 02/05/07 19:27

> If I take the where clause out it works and returns all the records.
> Tried numerious different combinations to try and put the where clause in
> but still returns an error. Works ok using a sql statement in mysql.
> Any other way to count records using where clause.
> Thanks again for you time
> bill

In the code you supplied you have escaped the single quotes in the where
clause. as you have double quotes set around the sql query you do not need
to escape them and is most likely the cause of your problem.

[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

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