G
G
Gucciprado13372021-07-21 21:08:42
PHP
Gucciprado1337, 2021-07-21 21:08:42

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>

and handler
<?php
global $wpdb;
$perfectmoney = $_POST['perfectmoney'];
$wp_users = $wpdb->prefix . "wp_users";
$wpdb->insert($wp_users, array(
                            'perfectmoney' => $perfectmoney,
                            ));
?>

Why doesn't it send text to phpMyAdmin ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick, 2021-07-22
@Enlightened1


Hello. Maybe this will help: https://website--create-ru.turbopages.org/turbo/we...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question