> I have spent hours looking through my PHP books, but can't find it. Can > someone please explain what the question mark is doing? And the count($row) > : 0? It's the ternary operator, which is an alternate syntax for an if() statement. Read more at http://us2.php.net/operators.comparison. Jason