0

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! =)

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.