convert javascript value to php variable





Whenever you want to convert from php variable to javascript variable see the below example and use it. var ID var dateToEvaluate This will convert js variable to php variable and php variable to js variable. .I know there are lots of ways to define a JavaScript variable, but this is the one I find works in the most circumstances. Im not an expert here, but most of the others seem to not work a lot of the time. I would like to use a javascript variable that was returned to me by a videoel.getCurrentTime function and convert it to a php variable for me to able to add it up to my SQL Insert Query like INSERT INTO tblData VALUES