I have one line of JavaScript that I'd appreciate help with.
req.open("GET", 'update.php?id=<?php $id ?>', true);
Where $id = 12345, I am trying to get the contents of update.php?id=12345.
Using PHP inside this JavaScript doesn't seem to be working for me.
Any suggestions?