Forum Moderators: coopster
if( isset($_SESSION['pid'
{
$arrPid=array($_SESSION['pid']);
}
array_push($arrPid,'$pid');
$_SESSION['pid']=$arrPid;
This isn`t inserting new values at the end of arrays it adds two values after that when i add 3rd one it overwrites all values in array but not add new one
please Help me
Thanx
[php.net...]
instead of: array_push( $arrPid, '$pid' );
try: array_push( $arrPid, $pid );
asp
[edited by: jatar_k at 7:29 pm (utc) on Dec. 14, 2002]