php problem
| From: | Dimitar Argirov | Date: | Wed, 24 Sep 2008 17:40:54 +0000 |
| Subject: | php problem | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2690@lists.php.net to get a copy of this message | ||
I have the follow simple php script:
*<?
session_start();
$_SESSION['lang'] = 'dada';
$lang['sd'] = 'troha';
echo '$_SESSION[lang]-> '.$_SESSION['lang'];
?>*
If you run the above script and then reload the browser, you will see the
difference. Is that a problem, is this a problem with php or with settings?
Why the PHP "think" a "lang"-array like an element from the $_SESSION array?
--
Best regards, Dimitar Argirov
Mobile: +359 89 5754081
Skype: dimitarbgr