Jump to content

Phalanxer

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Everything posted by Phalanxer

  1. I really don't quite understand this problem: if (isset($_SESSION['tablea']['numbers1-6'])) { $_SESSION['tablea']['numbers1-6prior'] = $_SESSION['tablea']['numbers1-6']; unset($_SESSION['tablea']['numbers1-6']); } The problem is with the last line - unset($_SESSION['tablea']['numbers1-6']); Can someone please tell me what the problem is? I don't understand.
  2. What I did to fix it was: $_SESSION['tablea']['number1'] = $_SESSION['tablea']['number1'] + 1;
  3. I was using: if ($_POST['num'] == '3') { $_SESSION['number1']++; } ... and everything was fine. Now I am using: if ($_POST['num'] == '3') { $_SESSION['tablea']['number1']++; } ... and getting: Does anyone know what has caused this?
  4. I have scrapped my days work and starting over from the last point of backup, where everything was working. Thanks for all your input guys.
  5. I have restarted Apache, still the same result.
  6. Why is it that I am always let down by open source software that can't perform a basic instruction? $_POST['tablea'] = 'a22'; $_SESSION['tablea']['tablenumber'] = $_POST['tablea']; echo $_SESSION['tablea']['tablenumber']; This should echo 'a22' right? Yeah, right... well it echo's '2'.
×
×
  • 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.