Here's what I'm trying to do:
<?php
$kw = $_GET['kw'];
?>
Somewhere on my template:
<? echo $kw; ?>
So, by typing: example.com/postblah/?kw=test
It would print "test" where I put the echo but it's not printing it, could it be the permalinks?
Here's what I'm trying to do:
<?php
$kw = $_GET['kw'];
?>
Somewhere on my template:
<? echo $kw; ?>
So, by typing: example.com/postblah/?kw=test
It would print "test" where I put the echo but it's not printing it, could it be the permalinks?
anyone?
bump for myself
hello?
This should work...
$var = @$_GET['kw'];
This topic has been closed to new replies.