query('SELECT COUNT(*) FROM "QUESTIONS"'); echo pg_last_error(); echo $questions_count; ?>