Simple survey system using PHP, MySQL and javascript