1
Hi,
I cannot seem to get the variables from the url into the block code. The following is an extract of a custom block. The rest of the block code is working fine.
Quote:
function b_destblocks_show($options) {
global $xoopsDB;
if (isset($HTTP_GET_VARS['locdestid'])) {
$locdestid = intval($HTTP_GET_VARS['locdestid']);
}
...
}
The url I enter is for example:
http://www.worldtravelpublishers.com/modules/testlinks/location.php?locdestid=2
I cannot get the variable for locdestid out of the url for use in the code.
Does anyone have an idea of how to do this?
Thanks,
Martijn