Php based survey tool