|
Posted by Captain Paralytic on 09/03/07 09:02
On 2 Sep, 21:42, "Matthew White" <mgw...@msn.com> wrote:
> I have started using the new mysql_* extensions. Here is the code I am
> trying to run:
> $temp2 = "SELECT * FROM assignments2 WHERE daydue < '247' && progress !=
> '100'";
> $temp2 = mysqli_query($mysqli,$temp2) or die(mysqli_error($mysqli));
> $temp2 = mysqli_fetch_array($temp2) or die(mysqli_error($mysqli));
>
> This query doesn't work (though it throws no errors). Only when I change
> the "<" to "<=" does the script work. Why doesn't the less than operator
> work?
"This query doesn't work",
Very helpful this, very discriptive!
What precisely doesn't work about it? Do you just get no data output?
If so, please post some of the output from when it does "work".
Navigation:
[Reply to this message]
|