I am using window.open() method to open a new window and passing a Javascript variable (String) using localStorage.setItem() method. In the new window that's opened, I retrive the passed variable using localStorage.getItem() method. Now I need this variable for an SQL query using PHP, something like "SELECT rowname from tablename WHERE id = TheJSVariable"
But I couldn't find any where a solution for it.
Any suggestions? Thanks