now i try to describe my solution which i cant normally understand...
your solution $_SESSION['thename'][$countDay][$count] = "";
for me was wihtout result but thank you for helping.
for example my web page form x number of php pages and one php file (library)
for example when i try to post values in first php file into another document i do this....
=vars to post begin=====================
<form name="bla bla la" method="p">
<input t = text ......... name="var1"
<input t = text ......... name="var2"
submit value="post this two vars to another document"
</form>
=vars to post end=====================
this two vars i post to the document doc2.php (for example)
=doc2.php in action begin=====================
//begin of piece of code from library php file
if (sizeof($POST)>0)
{
while (list($key,$value)=each($POST))
{
${$key}=$value;
}
}
this piece of code at this situation must create two vars
var1 and var2
//end of piece of code from library php file
and now if i try to write var1 into session by this way (see below ), i get no result
$_SESSION['fcomment']['place for var 1'] = $var1;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
but if i write var1 into session by this way !, i get normal result
if (isset($var1))$_SESSION['fcomment']['place for var 1'] = $var1;
=doc2.php in action end=====================
i know that i am not good in php, but reading some php articles i cant find answer to this situation ...
maybe my problem was in this ....
info from php.net>
If a variable has been unset with unset(), it will no longer be set. isset() will return FALSE if testing a variable that has been set to NULL. Also note that a NULL byte ("\0") is not equivalent to the PHP NULL constant.
can somebody more detaily explain to me what i did wrong....
thank you people.....