怎么用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>