如何计算PHP中的提交按钮? [英] how to count submit button in php?
本文介绍了如何计算PHP中的提交按钮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何计算php中的提交按钮?
清楚???????
解决方案
<? php
session_start();
? > ;
< html >
< head > < / head > ;
< body >
< 表单 方法 = 发布 action < span class =code-keyword> = submit.php >
< 输入 type = submit 名称 = count value = 开始计算 / >
< / form >
<? < span class =code-summarycomment> php
if(isset(
_POST ['count'])){
if(! (
_SESSION ['count'])){
how count submit buttons in php?
is clear???????
解决方案
<?php session_start(); ?> <html> <head></head> <body> <form method="post" action="submit.php"> <input type="submit" name="count" value="Start counting" /> </form> <?php if(isset(
_POST['count'])){ if(!(
_SESSION['count'])){
这篇关于如何计算PHP中的提交按钮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文