怎么把提交的文本提交上服务器?怎么设置提交后自动保存的文件夹?

来源:12-13 距离产生美 - 使用margin为盒子设置外边距(边界)

慕雪6009548

2018-12-25 21:48

https://img1.mukewang.com/5c22353a0001ec5e14530721.jpg

<form method="post" action="save.php">     

<label for="username">用户名:</label>    

<input type="text"  name="username" id="username" value="" />  

<label for="pass">密码:</label>  

<input type="password"  name="pass" id="pass" value="" />         

<input type="submit" value="登录"  name="submit" />  

<input type="reset" value="重置" name="reset" />

</form>  

<h1>爱奇艺</h1>

<form action="save.php" method="post" >

<label>提交卡密:</label>

<textarea cols="50" rows="10"> 1行1个</textarea>   

<input type="submit" value="提交"  name="submit" />  

<input type="reset" value="重置"  name="reset" />

</form>


写回答 关注

1回答

  • 枫adel
    2018-12-26 11:55:20

    你有做后台save.php吗

    慕雪6009...

    没有 之学了做页面

    2018-12-27 17:45:16

    共 1 条回复 >

初识HTML(5)+CSS(3)-升级版

HTML(5)+CSS(3)基础教程8小时带领大家步步深入学习标签用法和意义

1228274 学习 · 18414 问题

查看课程

相似问题