Web Analytics Made Easy -
StatCounter Passing form array variables to a popup window - CodingForum

Announcement

Collapse
No announcement yet.

Passing form array variables to a popup window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Passing form array variables to a popup window

    I've got a form with a multiple select list that's named 'app_id[]' so that PHP will recognize the variable as an array when it's passed to the page that will appear in a popup. My code for the link to the popup looks like this:

    <a href=\"javascript:;\" onclick=\"openkeywin('preview_kb_record.php?app_id=$app_id', 'prevwin', 'width=680, height=700, toolbar=0, status=0, menubar=0, location=0, scrollbars=1, resizable=0, directories=0')\">Preview</a>

    The popup window will layout a preview of what the user has entered into the form. When I try the link I get an error that basically says the variable wasn't passed correctly.

    I'm only using one variable in the example above, however I have many that need to be passed to the new window in the final version.
    You can't win if you don't play!

  • #2
    **bump**
    You can't win if you don't play!

    Comment


    • #3
      sounds like we have the same issue.



      If you find an answer, *let me know!*

      Comment


      • #4
        **bumpety bump bump...bumpety bump bump...look at that topic go...**
        You can't win if you don't play!

        Comment

        Working...
        X