Jump to content

Open source software sucks


Phalanxer

Recommended Posts

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'.

Link to comment
https://forums.phpfreaks.com/topic/264982-open-source-software-sucks/
Share on other sites

<?php
$_POST['tablea'] = 'a22';
$_SESSION['tablea']['tablenumber'] = $_POST['tablea'];
echo $_SESSION['tablea']['tablenumber'];
echo '<pre>';
print_r($_SESSION);
echo '</pre>';
?>

OUTPUT==>

a22
Array
(
    [tablea] => Array
        (
            [tablenumber] => a22
        )

)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.