<html> <a href="praca.php">pracuj</a> <? function sesja(){ $_SESSION['count'] = 0; } sesja(); ?>
Plik praca.php
<html> <a href="index.php">główna</a> <?php include( "index.php") $_SESSION += 3; sesja(); ?>
Pomóżcie to pilne!
<html> <a href="praca.php">pracuj</a> <? function sesja(){ $_SESSION['count'] = 0; } sesja(); ?>
<html> <a href="index.php">główna</a> <?php include( "index.php") $_SESSION += 3; sesja(); ?>
Tutaj: http://pl.php.net/manual/pl/language.opera....assignment.php dowiesz się troszkę więcej o operatorach przypisania.
<?php $sila = + 2; ?>