www.webdeveloper.com
Results 1 to 3 of 3

Thread: How can I get the parameter?

  1. #1
    Join Date
    Sep 2009
    Posts
    7

    How can I get the parameter?

    Hi,

    I like to place some php inside a script to grab a parameter.

    It seems like its inside a html-string in javascript:

    Code:
    if(rf){
    function initADP(){bdf=0;
    // *** Begin advanced user scripting area ***
       htmlstring="<center><br> <a style=\"font-size:12px;color: #660000\" href=\"http://www.mitesite.com/ff.php?rab=$pop\">Join!</a> "
       new adp("default",htmlstring,"hallo");
    // *** End advanced user scripting area ***

    I thought I could do just like this:

    href=\"http://www.mitesite.com/ff.php?rab=<?echo $rab?>\">Join!</a> "
    But its not working! How can I get the $pop in the URL?

    Earlier in the script I am getting the function by this script:

    <?php
    $rab = $_REQUEST['rab']; //stores the URL variable into a variable that php can use

    ?>

    But maybe its alle wrong?

    Thanks in advance!

    Cromagnon

  2. #2
    Join Date
    Sep 2009
    Posts
    7
    Maybe this question simply do not make any sense?

  3. #3
    Join Date
    Sep 2009
    Posts
    7
    So thats it? No help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles