Okay, so I tried that method. On the index file I'm using smarty. On the popup file I'm not.
Output Link:
<h2>{if $smarty.const.ENABLE_REWRITE}<a href="{$cat.TITLE_URL|escape}/">{$cat.TITLE|escape}</a>{/if}{if ($cat.POP_UP) == 1}<a href="popup.php?c={$cat.ID}" target="_blank">{$cat.TITLE|escape}</a>{else}<a href="index.php?c={$cat.ID}">{$cat.TITLE|escape}</a>{/if}
Looks like: popup.php?c=1
My popup.php page looks like this:
<?php
require_once 'init.php';
$cat.ID = $_GET{cat.ID}
echo $cat.ID;
?>
My error:
Parse error: syntax error, unexpected '=' in /localhost/popup.php on line 5
I know I'm screwing up something somewhere, lol. I just have no clue where.
Thanks again.