⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 barformgenerator.php

📁 这是php专业项目实例开发一书的源代码,希望对大家有所帮助!
💻 PHP
字号:
<html>
<head>
<title>e-mail validator</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#FFFFFF" text="#000000">
<p>&nbsp;</p>
<form name="form1" method="get" action="barchart.php">
  <table width="26%" border="1" align="center" cellpadding="5">
    <tr> 
      <td colspan="3"> 
        <div align="center"><b>Enter bar chart details</b></div>
      </td>
    </tr>
    <tr>
      <td width="25%"><center>Serial Number</center></td>
      <td width="26%"><center>Bar title text</center></td>
      <td width="49%"><center>Value</center></td>
    </tr>
<?php

for ($i=0;$i<$datacount;$i++)
{
 echo "   <tr>  ";
 echo "      <td width=\"25%\"><center>",$i+1,"</center></td>";
 echo "      <td width=\"26%\">";
 echo "        <input type=\"text\" name=\"title[]\" size=\"10\">";
 echo "      </td>";
 echo "      <td width=\"49%\"> ";
 echo "        <input type=\"text\" name=\"arr[]\" size=\"4\">";
 echo "      </td>";
 echo "    </tr>";
}
?>
    <tr> 
      <td colspan="3"> 
        <div align="center"> 
<?php 
    echo "<input type=\"hidden\" name=\"datacount\" value=\"".$datacount."\" >
";?>
          <input type="submit" name="Submit" value="Submit">
        </div>
      </td>
    </tr>
  </table>
</form>
<p>&nbsp;</p>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -