Niente, non sono riuscito a farlo funzionare, ho apportate qualche modifica e utilizzato il metodo da te indicato...
location.href = "http://127.0.0.1/framework/php/addRowQuery.php"+array;codice:function sendData() { var table = document.getElementById("formTable"); var input = table.getElementsByTagName('input'); var str = input[0].value; var array = "?0=" + str.trim(); for(var i=1; i<=input.length; i++){ str = input[i].value; if(str != "") array = array + "&"+ i + "=" + str.trim(); }
}