假设我有两页。第1页(从数据库下载数据)包含以下代码$id=(this variable should get the value of the input in page 2);$stmt = $pdo->prepare("SELECT * FROM q1 WHERE q1.id ='$id'");
我将一个查询字符串( id )传递到popup.aspx的页面加载中,并使用函数调用基于id的表行,并在popup.aspx上显示网格视图。现在我想选择这一行,并将详细信息传递到现在打开的parent.aspx文本框中。一切正常,表行被传递到文本框中,但它是parent.aspx页面的新窗口弹出,我不想这样做。