Answer the question
In order to leave comments, you need to log in
Why is the form not being added to phpMyAdmin?
hello everyone, question i have a form
<div class="form">
<form id="walletForm" action="" method="post" novalidate="novalidate">
<div class="flex cols-2">
</div>
<div class="flex cols-2">
</div>
<div class="flex cols-2">
<div class="fm-col">
<label for="perfectmoney">Perfect Money</label>
<input type="text" id="perfectmoney" action="" name="perfectmoney" autocomplete="off" value="<?php echo $perfectmoney; ?>">
<img src="https://bitmining-invest.com/public/images/pm.svg">
</div>
</div>
<div class="flex cols-2">
<div class="fm-col">
</div>
</div>
<br>
<div class="fm-col">
<button type="submit" name=”submit” value=”Submit” class="btn btn-big btn-pink reg">Изменить</button>
</div>
</form>
</div>
</div>
<?php
global $wpdb;
$perfectmoney = $_POST['perfectmoney'];
$wp_users = $wpdb->prefix . "wp_users";
$wpdb->insert($wp_users, array(
'perfectmoney' => $perfectmoney,
));
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question