Thursday, December 6, 2012

To get promocode after five click

To get promocode after five click

1) click.php



2)
queryVal.php
if($_SESSION['sesCount']=5)
{  
$_SESSION['sesCount'] = 0;
echo 'Your Promocode is JC55SC';
}
echo $_SESSION['sesCount'];
//session_destroy();
}
?>