He I\'m trying to convert my Javascript var to a php var. I currently use the window.location.href methode but it keeps giving this error
function getId() {