You are here: Re: php returns 9 records instead of 10 when i do a select * « PHP Programming Language « IT news, forums, messages
Re: php returns 9 records instead of 10 when i do a select *

Posted by Rik on 06/24/06 16:32

homepricemaps@gmail.com wrote:
> i run a mapping website at http://www.HomePriceMaps.com which maps
> real estate prices however i have found that when i do select * where
> there are 10 records found in the db that for some reason only 9 are
> returned to the user. If there are only 2 records found in the db
> than only 1 is returned.
>
> my php code looks like this and i cannot tell if its the logic of my
> php code or perhaps my javascript:
>
> php code
>
> $query = "SELECT * FROM homepricemaps where citystate = '" . $input
> ."';

This code won't return anything.
Please post the the total portion of the code in which you extract records
from the database.

Grtz,
--
Rik Wasmus

 

Navigation:

[Reply to this 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

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