This is all in admin section of xoops.
I have 3 variables :
matchgid - 8
homeid - 7
awayid - 5
if I post this all is ok, but if i add it to url ie _GET (yes I cheacked it it correct ) nothing......
anyone got an idea?
<?php
$eventtypeq = $xoopsDB->query("SELECT * FROM ".$xoopsDB->prefix("leaguestats_event_types"));
while($typedata = $xoopsDB->fetchArray($eventtypeq)){
if($modeventdata[EventType]==$typedata[EventTypeID]){
$selected ="SELECTED";
}else{
$selected="";
}
$var = $typedata[EventTypeName];
print '<option value="' . $typedata[EventTypeID] . '" ' . $selected . '>' . constant($var) . '</option>';
}
?>
$xoopsTpl->assign(array("img_hotfolder" => $bbImage['newposts_forum'],
"img_folder" => $bbImage['folder_forum'], "img_locked" =>
$bbImage['locked_forum'], "lang_newposts" => _MD_NEWPOSTS,
"lang_private" => _MD_PRIVATEFORUM, "lang_nonewposts" => _MD_NONEWPOSTS,
"lang_search" => _MD_SEARCH, "lang_advsearch" => _MD_ADVSEARCH));