[PHP] Getting the value from a not posted form edit Vield.
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: #DD'/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.
RE: [PHP] Getting the value from a not posted form edit Vield.
I'm not sure what question you are asking, but try changing this line $aFinfOn = Getenv($aFindOnInput); to $aFinfOn = $HTTP_POST_VARS[aFindOnInput]; The function getenv() gets environment variables, not post variables. Kirk -Original Message- From: hvm [mailto:[EMAIL PROTECTED]] Sent: Friday, September 21, 2001 6:09 AM To: [EMAIL PROTECTED] Subject: [PHP] Getting the value from a not posted form edit Vield. 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: #DD'/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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Getting the value from a not posted form edit Vield.
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: #DD'/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.