Moderator: KarelB
var ajaxUrl = '<?php echo $_SERVER['PHP_SELF']; ?>;
setAjaxInfo({url: "'.$_SERVER["PHP_SELF"].'?tbl='.$_GET["tbl"].'", history: true});
$defaultSessionData['searchString'] = isset($_GET['search_string']) ? $_GET['search_string'] : '';
$defaultSessionData = base64_encode($this->Editor->jsonEncode($defaultSessionData));
lukasnem wrote:Hello,
I would like to ask how can I access to value of $_GET variables in the newest version of mate?
When I define $defaultSessionData like below searchString is empty, I thing it is because of base64_encode of url :
- Code: Select all
$defaultSessionData['searchString'] = isset($_GET['search_string']) ? $_GET['search_string'] : '';
$defaultSessionData = base64_encode($this->Editor->jsonEncode($defaultSessionData));
I am using Autocomplete.php example.
Please help me
Best regards
Users browsing this forum: No registered users and 5 guests