Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

PHP4 - Can't generate Session

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Postby DoppyNL » Wed Oct 16, 2002 3:12 am

You can't acces you're session-variables?? see this sticky post.

Greetz Daan

Postby Jay » Wed Oct 16, 2002 1:12 pm

Try this instead:
Code: Select all
$_SESSION['count'] = (@$_SESSION['count'])? $_SESSION['count']++:0;
print "The counter is ".$_SESSION['count'];

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.