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
DoppyNL
 

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

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


Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot], Google Feedfetcher, ScroogeMcDuck and 2 guests

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