PDA

View Full Version : Passing form array variables to a popup window


Crashin
07-12-2002, 04:17 PM
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.

Crashin
07-12-2002, 07:38 PM
**bump**

RadarBob
07-12-2002, 09:07 PM
sounds like we have the same issue.

http://www.codingforums.com/showthread.php?s=&threadid=1856

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

Crashin
07-18-2002, 04:40 PM
**bumpety bump bump...bumpety bump bump...look at that topic go...**