Reply to Re: Looping through 2 query results

Your name:

Reply:


Posted by J.O. Aho on 02/09/07 10:54

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

[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

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