Send user log to a table using a php button

0

Good morning!

I have a button in php like this

echo CHtml::button(Yii::t('site', 'Help (F2)'), array('id' => 'run_example'));

Which performs a function of js in the following way

$("#run_example").click(function(){
     Sideshow.start({ listAll: true });
   });

I want that when some user clicks on that button the information is sent as user name, time, date to a MySQL table

I hope you have explained me well and can help me.

Thanks and regards.

    
asked by Luis Enrique Gómez Pérez 04.10.2018 в 17:26
source

0 answers