Enter data in the bank when given ok in alert

1

I have a column in phpmyadmin calling msg that receives integer values 1 or 0 .

When 1 , the user entering the site will be shown a alert('Seja bem vindo!'); how to do so that when the user clicks OK it will be updated msg to 0 ?

    
asked by anonymous 15.05.2016 / 04:36

0 answers