<div class="wallet">Боланс: <?php echo $cfg['balance'] ?> руб.</div>
"INSERT INTO windraw (suma, wallet, status) VALUES(?i,?s,?i)",$suma, $wallet, '0'
$(document).ready(function(){
$('#submit').click(function(e){
e.preventDefault();
var msg = $('#formx').serialize();
$.ajax({
type: 'post',
url: 'core/pay.php',
data: msg,
success: function(data) {
$('#results').html(data);
},
});
})
});