I have a js function, in the function body I want to send data to the MySQL database.
I have a video ID and a user ID, and I want to send the video ID (which I already have stored in a var) and the user ID (which I don't have but it's for a different topic.)
This is what I need basically:
When something happens//{
Send videoID to database to some table
Send userID to database to some table
}
If you guys can help me clear things up a little bit, help me understand how am I supposed to do that, I would be grateful. Thanks! =)