this is returning errors that occur when you try to load an url with [] in it(as far as I know)... I dont know why i am getting this errors... please help me correct the code below:
Errors:
 Warning: strpos() expects parameter 1 to be string, array given in C:...\query.php on line 1718 <<< 
 Warning: preg_split() expects parameter 2 to be string, array given in C:...\query.php on line 1719 <<< 
 Warning: Invalid argument supplied for foreach() in C:...\query.php on line 1720 <<<
$("#submit").live("click", function() {
$("#form").submit(function() {
    event.preventDefault();
    var teste=$(this).serialize();
    $.ajax({
        type: "POST",
        url: "./.../search.php",
        data: teste,
        success:function(data) {
            $("#index_content").html(data);
        }
    });
});
});
Edited version that works :)
$("#submit").live("click", function() {
$("#form").submit(function() {
    event.preventDefault();
    teste = $('#form').serialize();
    $.ajax({
        type: "POST",
        url: "./.../search.php",
        data: { 'album-features': teste },
        success:function(response) {
            $("#index_content").html(response);
        }
    });
});
});
 
     
    