Ok, using PHP, I have a
whole list of names each displayed in a text field. A name browser. I want
to be able to click on a name and pass the information to the next page -- a
detail page. I do not want to use a URL link to pass the information. I
want to use $_SESSION['session_var']. The problem is that it will only load
the information from the last record from the browser. Here is the code at
present:
<?php $_SESSION['session_var'] = $row_rsIDetails['callname'];?>
<form action='session-Test2.php' method='POST' onclick="MM_goToURL
('parent','../sh_files/session-Test2.php');return document.MM_returnValue">
<input type='hidden' name='form_var' value='testing'>
<input name="sCall" type="text" id="sCall" value="<?php echo $row_rsIDetails
['callname']; ?>" />
</form>
And yes, session_start is on. The current detail/child page receives the
variable. Just the wrong one.
Thanks for your help.