Che ti inserisca un array è normale...
Non so, se mi viene in mente qualcosa la posto
EDIT:
Ho pensato a questo:
Codice PHP:
// Dichiarazione degli array (ogni campo deve avere un suo array)
$myArray1 = array('Select1', 'Select2', 'Select3');
$myArray2 = array('', 'Text2', '', 'Text4');
$myArray3 = array('Campo1', '', '', 'Campo4');
// array generale che contiene tutti i campi
$myArray = array($myArray1, $myArray2, $myArray3);
// scorro tutti i valori
foreach($myArray as $myVal)
{
foreach($myVal as $myCampi)
{
// inserisco solo i valori non nulli
if($myCampi != '')
$myQuery .= $myCampi . ', ';
}
}
// dato che i campi termineranno sempre con virgola ed uno spazio, taglio le ultime due lettere
$myLen = strlen($myQuery);
$myQuery = substr($myQuery, 0, ($myLen-2));
// creo ed eseguo la query
$query = 'INSERT INTO tabella VALUES(' . $myQuery . ')';
@mysql_query($query) or die(mysql_error());
Prova con questo e fammi sapere