1) It looks like you used the same name for both variables in the recordset. When I open it in the recordset panel, the SQL shows as:
SELECT *
FROM special_offers
WHERE OffersID = colname OR Permalink = colname AND Live = 1
change that so it uses unique names
SELECT *
FROM special_offers
WHERE OffersID = paramOffersID OR Permalink = paramPermalink AND Live = 1
then create the variables as:
name: paramOffersID
Type: integer
default value: -1
Run Time Value: <?php echo(isset($_GET['id'])?$_GET['id']:""); ?>
name: paramPermalink
Type: text
default value: -1
Run Time Value: <?php echo(isset($_GET['perm'])?$_GET['perm']:""); ?>