22-02-2009, 11:47
|
|
|
חבר מתאריך: 15.02.09
הודעות: 292
|
|
הצילו !!
אני מקבל הודעת שגיעה שאני לא מצליח לתקן בקוד הזה אם מישהו יכול לעזור לי
<?php
session_start() ;
if (isset($_SESSION['counter_load']))
{
echo "session was found<BR>" ;
}
if (isset($_SESSION['counter_load'])) {
$_SESSION['counter_load']++ ; }
if ($_SESSION['counter_load']) {
echo "you've been in this page" .$_SESSION['counter_load'].
"times" ; }
if ($_SESSION['counter_load'] >= 5) {
echo "you have visited this page at lesat 5
times i am going to del
the session variable " ; }
elseif ($_SESSION['counter_load'] == 1 ) {
echo "this is the first time you enter this page" ;}
else echo "123456" ;
session unregister("counter_load");
ההודעיה שאני מקבל Parse error: syntax error, unexpected T_STRING in C:\Program Files\Glossword-WAMP\htdocs\session.php on line 31
|