标题:怎么用php把这段html表单内容写入数据库
取消只看楼主
多新新
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2019-12-24
 问题点数:0 回复次数:0 
怎么用php把这段html表单内容写入数据库
怎么用php把这段html表单内容写入数据库
代码如下:<form action="register.php" enctype="multipart/form-data" method="post">               
<input type="text" Name="userName" placeholder="userName" required="">            
    <div class="radio-btns agileits w3layouts">                    
<div class="cc-selector wthreeselector">                    
    <p>sex</p>                    
</div>                    
<div class="cc-selector wthreeselector">               
        <input id="visa" type="radio" name="credit-card" value="visa">               
        <label class="drinkcard-cc visa" for="visa"></label>               
    </div>               
    <div class="cc-selector wthreeselector">                    
    <input id="mastercard" type="radio" name="credit-card" value="mastercard">            
    <label class="drinkcard-cc mastercard" for="mastercard"></label>            
        </div>            
    </div>            
    <div class="wthreedob">               
    <input name="interests[]"  class="date agileits w3layouts" id="datepicker1" type="checkbox" value="Date" onfocus="this.value = '';" onblur="if (this.value == '') {this.value = '';}" required="">        
        </div>            
    <input class="fill email" type="text" name="Email" placeholder="Email" required="">                        
        <input class="fill tel" name="Phone" placeholder="Phone" required="">        
        <input type="password" Name="password" placeholder="password" required="">        
        <input type="text" Name="confirmPassword" placeholder="confirmPassword" required="">        
        <div class="send-button wthree agileits">        
        <input type="submit" value="Sign Up">                                </div>            </form>
搜索更多相关主题的帖子: class input type Name div 
2019-12-24 16:44



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-498609-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.111661 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved