|
|
@@ -1,7 +1,7 @@
|
|
|
<?php
|
|
|
|
|
|
if (is_ajax()) {
|
|
|
- if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
|
|
|
+ if (isset($_GET["venue"]) && !empty($_GET["venue"])) { //Checks if action value exists
|
|
|
// $action = $_POST["action"];
|
|
|
// switch ($action) { //Switch case for value of action
|
|
|
// case "test":
|
|
|
@@ -19,7 +19,7 @@ function is_ajax()
|
|
|
|
|
|
function test_function()
|
|
|
{
|
|
|
- $return = $_POST;
|
|
|
+ $return = $_GET;
|
|
|
|
|
|
//Do what you need to do with the info. The following are some examples.
|
|
|
//if ($return["favorite_beverage"] == ""){
|