Aşağıdaki sözdizimi yanlıştır:
$_session['page'$numberpages]=$CurrentPage;
Doğru sözdizimi nedir?
Muhtemelen bu istiyorum:
$_SESSION['page'.$numberpages] = $CurrentPage;
$_SESSION
is a special superglobal variable ve büyük harf olması gerekir.'page'.$numberpages
string concatenation operator gerekmektedir.