|
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]
|