0
我一直在使用SESSION变量来输入loginName数据作为检索包含该用户loginName的记录的方法。如何创建可以使用此参数进行搜索并显示用户创建的所有记录的表单。使用会话变量作为表格的搜索参数
这是我用来输入SESSION变量到记录中。
<input type="hidden" name="loginName" id="loginName" value= "<?php echo $_SESSION['MM_loginName']; ?>" />
这里是我尝试使用以下形式:
<form action="memberresults.php" method="post" name="form5" target="_self" id="form5">
<input type="hidden" name="loginName" id="loginName" value= "<?php echo $_SESSION['MM_loginName']; ?>" />
<input type="submit" name="form5" id="form5" value="Submit" />
</form>
什么想法?
迈克尔
如何设计工作?你有会话变量将数据输入到记录中,记录在哪里?你在使用数据库吗? – 2010-03-02 04:11:38