$(document).ready(function () {
$('#loadingstart').hide();
});
function walle() {
$('#loadingstart').show();
var product_id_array = $('#product_id_array').val();
var position = $('#position').val();
var URL = "./includes/user-course-settings.php"; /////post.php will be equal the variable "comment"
$.post(URL,
{
walle: "post",
username1: username,
position1: position,
navpos1: navpos
},
function (data) {//parameter wall will be equal "post", name1 will be equal to the var "name" and comment1 will be equal to the var "comment"
$("#startOver").prepend(data).show();// the result will be placed above the the #result div
$('#loadingstart').hide();
});
}
Я не думаю, что с MYSQLI есть что-то особенное, поскольку изначально он поступает в базу данных. Проблема в том, что независимо от того, что я выбираю, значения сохраняют первый вариант в сгруппированных переключателях.
position
[*]
left
[*]
center
[*]
right
Nav Position?
[*]
Left
[*]
Center
[*]
Right

Подробнее здесь: https://stackoverflow.com/questions/182 ... e-to-value
Мобильная версия