89,101d88 < < if (isset($_GET['country'])) { < $GETtask = str_replace("\\'", "'", $_GET['country']); < } else if (isset($_POST['country'])) { < $GETtask = str_replace("\\'", "'", $_POST['country']); < } < if (isset($_GET['popularity'])) { < $GETdesc = str_replace("\\'", "'", $_GET['popularity']); < } else if (isset($_POST['popularity'])) { < $GETdesc = str_replace("\\'", "'", $_POST['popularity']); < } < < 104c91 < } else if (isset($_POST['task'])) { --- > } else { 109c96 < } else if (isset($_POST['desc'])) { --- > } else { 114d100 < 126,137d111 < < if (isset($_GET['country'])) { < $GETtask = str_replace("\\'", "'", $_GET['country']); < } else if (isset($_POST['country'])) { < $GETtask = str_replace("\\'", "'", $_POST['country']); < } < if (isset($_GET['popularity'])) { < $GETdesc = str_replace("\\'", "'", $_GET['popularity']); < } else if (isset($_POST['popularity'])) { < $GETdesc = str_replace("\\'", "'", $_POST['popularity']); < } < 140,144d113 < < if ($GETdata != "" && strpos($GETdata, "[") !== false && strpos($GETdata, "[") < strpos($GETdata, ",")) { < $GETdata="," . $GETdata; < } < 174,178d142 < < if ($GETdata != "" && strpos($GETdata, "[") !== false && strpos($GETdata, "[") < strpos($GETdata, ",")) { < $GETdata="," . $GETdata; < } < 523,525c487 < } < < echo " chart.draw(data, options); \n \n"; --- > } echo " chart.draw(data, options); \n \n"; 544c506 < if (!isset($_GET['desc']) && !isset($_POST['desc']) && !isset($_GET['popularity']) && !isset($_POST['popularity'])) { --- > if (!isset($_GET['desc']) && !isset($_POST['desc'])) {