Very easy (you should have just asked me again Mag)
You don't have to. Ignore the code above, again.
Do this:
echo "<a href='blah.php?'" .SID. ">";
SID is the session ID, and it will only be appended if it's needed (ie, user doesn't have cookies enabled.) Remember, it's not $SID - it's SID.
Cheers,
Backov
__________________
<embed src="http://banners.spotbrokers.com/button.swf" FlashVars="clickURL=http://banners.spotbrokers.com" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="120" height="60"></embed>
|