Hi I am new in php and started learning. I am trying to increment variable value with 1 when submit button is pressed.
My Code:
<?php
$i=0;
if($_POST['submit']){
echo $i+1;
}
?>
Thanks
See Question&Answers more detail:os