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.
<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.
Comment