persistent cookies, jquery, ajax
$("input[type=checkbox]").click(function() {
$("form").submit();
});
This piece of code sends values to my PHP script which implodes the values into a MySQL query.
My problem is, It is not keeping the checked value upon executing, which then leads to it not being able to implode values into the MySQL query
PHP..
$title = implode(',',$_GET['brand']);
MySQL...
"SELECT *
FROM ITEMS where brand_id in ($title)"
Do I nee开发者_Python百科d to use cookies for this?
精彩评论