Trustmaster |
|
---|---|
Should be as easy as this: $cfgsubj = "<input type=\"hidden\" maxlength=\"100\" size=\"24\" value=\"".$_SESSION['visited_pages'][count($_SESSION['visited_pages'])-1]."\" name=\"subject\" id=\"subject\" class=\"text\" />"; BTW, there's a bug with parenthesis in that $prev_page sequence, it should be $prev_page = $_SESSION['visited_pages'][count($_SESSION['visited_pages'])-1];
May the Source be with you!
|