Albert Padley wrote:
I have the following nested ifs:
if ($row['date'] < '2005-10-02') {
if ($row['time'] < '12:00') {
if ($row['field'] == 'P5' ) {
echo "Success";
}
}
}
else {
echo "Failed";
}
Whenever the 3 if statements are true,
Justin Francis wrote:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to see
if anyone can help.
--
class Collection
Jay Blanchard wrote:
[snip]
No. By implementing the Countable interface, and implementing the
count() method, the global count($c) function is supposed to call
$c->count(). This is so the object can be treated like a countable array
in the same manner.
[/snip]
I was asleep earlierif $c
Stut wrote:
Justin Francis wrote:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to
see if anyone can help.
--
class
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to see
if anyone can help.
--
class Collection implements Countable
{
public
5 matches
Mail list logo