Getting the value from a not posted form edit Vield.
| From: | hvm | Date: | Fri, 21 Sep 2001 12:08:32 +0000 |
| Subject: | Getting the value from a not posted form edit Vield. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68135@lists.php.net to get a copy of this message | ||
Hi All,
Has some one a solution for a non posted field to get the entered information out in to the session
variables.
My code:
1e The script "adv_search_dis.php4" is to build the input field.
<?php
echo "<INPUT type='text' name=aFindOnInput value='$aFindOn' size=15
maxlength=15 style='font-family:
Arial, Helvetica, sans-serif; color: black; background: #DFFFFD'></td>";
// Find the diseases via Link
echo "<a href='../PhPScrips/0DiseaseFind.php4' target='mainFrame'
name='disease'>Search</a></FONT>";
?>
2e The script "0DiseaseFind.php4" is to get the variable $aFindOnInput from the
"adv_search_dis.php4" script in to the session variable and start a new script to build
the result found in to the database.
<?php
$aFinfOn = Getenv($aFindOnInput);
$aLetter = $aFinfOn;
echo "<FRAMESET rows='50, *' FRAMEBORDER='NO' BORDER='0'
FRAMESPACING='0'>";
echo "<FRAME NAME='topFrame' SRC='../PhPScrips/a.php4'
FRAMEBORDER='NO' SCROLLING='NO' NORESIZE MARGINHEIGHT='22'>";
echo "<FRAME NAME='abc results' SRC='../PhPScrips/GetLSDNs.php4'
FRAMEBORDER='NO' SCROLLING='AUTO' NORESIZE>";
?>
Any help?
Yours Hans.