
01-27-2005, 11:00 PM
|
|
|
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
No chance on this huh?
Quote:
Originally Posted by Me
Wonderful hack. I've been using it for some time.
I was wondering if you could possibly help me pass a variable through the form?
I've set the form to open in a popup window with no title/scroll/tool bars. It gets filled out and then posted to a forum and emailed. It works wonderfully. I'd like to pass a variable from the link to the forum, through to the forum answers. I've added ?id=$var&cad=$var to the link.. and used the $_GET commands in form.php to pull them, then applied them to a new variable
e.g:
Code:
$id=$_GET['id'];
$cat=$_GET['cat'];
$link="http://www.domain.com?id=".$id."&cat=".$cat;
Then I've added $link to the formanswers template.
$link gets parsed and works, but the $id and $cat variables are not being set.
Is this possibly due to the lack of an address bar in the window where the form displays?
any help would be appreciated. thanks
|
thanks
|