因此,我要实现的是将用户的输入电话号码直接存储到我的数据库中。
这是我的代码:
<div class="player-information-row username-information-row animated bounceIn animation-delay-400">
<div class="input-wrapper username-input-wrapper2">
<img src="img/phone.png" alt="Player Icon" class="img-fluid input-icon2" />
<input type="text" id="username-input2" class="styled-input2" placeholder="Mobile number..." autocomplete="off" maxlength="11"/>
</div>
</div>
<div class="button-wrapper b-v-w">
<div id="checker" class="styled-button"><span>SEND NUMBER</span></div>
</div>
我想将这种类型的按钮与div而不是输入按钮形式一起使用,这就是为什么我无法弄清楚如何正确实现它的原因。