nickdhondt / dungeons-and-dragons

Real time digital statistics and game extension
GNU General Public License v2.0
0 stars 0 forks source link

catch -1/+1 event on admin panel #64

Closed thecodewizard closed 9 years ago

thecodewizard commented 9 years ago

Make the server side events for the -1/+1 buttons in the admin panel. Could @nickdhondt provide me with the array structure? Thanks bruh

nickdhondt commented 9 years ago

@thecodewizard print_r(json_decode($_POST["data"]));

nickdhondt commented 9 years ago

In javascript this can't be done with an array, an object is created. Containing: basic_id, action, user_id