You are here: Re: Looping through 2 query results « PHP SQL « IT news, forums, messages
Re: Looping through 2 query results

Posted by Captain Paralytic on 02/09/07 10:58

On 9 Feb, 10:54, "J.O. Aho" <u...@example.net> wrote:
> Captain Paralytic wrote:
> > On 9 Feb, 05:19, "Kenoli" <kenol...@gmail.com> wrote:
> >> On Feb 8, 12:57 pm, "Paul Lautman" <paul.laut...@btinternet.com>
> >> wrote:
>
> >>> Is person_id a string or a number?
> >> It's a number.
>
> > Then the reason that your query is failing is most likely that you
> > have put quotes arund the 5 and 6, making them into strings and are
> > trying to compare them with person_id which is a number.
>
> The single quotes around the values has no ill effect, there is something else
> that is wrong, and Kenoli should output mysql_error() to see what went wrong.
>
> --
>
> //Aho

good point

 

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

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