I am searching so much time how to pass a php variable to javascript and still i am not finding a solution it keeps popping this error "Uncaught SyntaxError: Invalid or