> $sql = "SELECT count(*) FROM feedback"; > $result = $handle->query($sql); > echo "rows = " . $result->rowCount() . "\n";
I've never used PHP, but just for kicks, to eliminate the database from the equation, try: $sql = "SELECT 123 AS abc;"; and see what happens. ____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------