Php With Javascript To See If Three