Просмотр исходного кода

Added primitive ajax.php for testing

Foppe Hemminga 6 лет назад
Родитель
Сommit
fd7969da08
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      ajax.php

+ 2 - 2
ajax.php

@@ -1,14 +1,14 @@
 <?php
 <?php
 
 
 if (is_ajax()) {
 if (is_ajax()) {
-	if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
+	// if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
 		// $action = $_POST["action"];
 		// $action = $_POST["action"];
 		// switch ($action) { //Switch case for value of action
 		// switch ($action) { //Switch case for value of action
 		//	case "test":
 		//	case "test":
 				test_function();
 				test_function();
 		//		break;
 		//		break;
 		//}
 		//}
-	}
+	// }
 }
 }
 
 
 //Function to check if the request is an AJAX request
 //Function to check if the request is an AJAX request