随笔分类 - PHP
摘要:1 <?php 2 //设置字符编码 3 header('content-type:text/html;charset=utf-8'); 4 5 //php的输出 6 //echo():输出括号里面的值,解析html标签,可以省略括号 √ 7 //print():函数和echo函数功能是一样的,pr
阅读全文
摘要:假设,我们将前端form表单中的值传入数据库 数据库中建立一个名为form1的表,表中有sid(自动排序的键值)、username、userpassword、userphone、date这几个字段(表的列名)。 首先,html部分代码如下 1 <fieldset> 2 <legend>提交注册</l
阅读全文
浙公网安备 33010602011771号