Button to debug table phpmyadmin

1

I make a form and what I need to do is make a button that debug my table calculations this so that it empties my table so that new data are inserted , I do not know how to do it by means of a button instead if I do it directly in SQL which is with the sentence

TRUNCATE TABLE calculations;

Thank you.

Annex the structure of my table:

id_Control       Primaria    Índice    int(10)  
idctg_turno      Índice                int(10)
total_horas                            int(10)    
horas_normales                         int(10)
horas_extras                           int(10)
Incidencia                             varchar(1000)
status                                 varchar(20)
    
asked by Carlos 08.07.2018 в 01:06
source

0 answers