Jump to content

RogerRamjet

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

RogerRamjet's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Please forgive me if this is a duplicate request, i am new to php so this maybe a novice question. On the iis server I am using the 'sticky'  dropdown menus will not hold the values when paging back; on apache servers the code does not break and the variables hold when paging.  If I use a limited amount of options within the select tag the values hold on the return and of course I need to use more than just 4 or 5 entries under 1 variable name. Below is the code block to process the form data into a session: session_start(); if (count($_POST) > 0){ switch($_POST['formName']){ case 'formB': if (!isset($fv)) $fv = &$_SESSION['rgform']['nextPage']; $_SESSION['rgform'][$_POST['formName']] = $_POST; header("location: formC.php?page={$_POST['nextPage']}"); break; } } else { $fv = &$_SESSION['rgform']['formB']; } This is the sticky dropdown <select> <option> code, there is about twenty lines of this statement, my thinking is there is a limiting factor dealing with the amount data the varialbe will  hold that I am not aware of:   <option value="35"<?php if ($fv['width'] == "35") echo "selected";?>>35</option> Any help would be greatly appreciated! MJB
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.