questo è l'errore che mida..purtroppo non son molto esperto. mi potete aiutare?
codice:
2 errore You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''2') VALUES ('')' at line 1 1064
39 errore You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''39') VALUES ('1')' at line 1 1064
i valori in rosso sono i value dei checkbox che diventeranno i nomi delle celle
codice:
2 | 12 | 39 | 14 |
---------------------------
0 | 1 | 1 | 0 |
0 | 0 | 1 | 1 |
1 | 1 | 0 | 0 |
questo è un esempio di come vorrei che risultasse la tabella finale
tenendo presente che parto da questo
codice:
<input type="checkbox" name="equi[]" value="2"> blabla
<input type="checkbox" name="equi[]" value="12"> blabla
<input type="checkbox" name="equi[]" value="39"> blabla
grazie a tutti per il possibile interessamento.