Here\'s javascript code that i have
var randomnum = 30;
and here\'s PHP code
Look at the following code. The PHP session is assigned to 30 from the Javascript value. however am not sure if this is good way for implementation.
Html Page Title document.write(randomnum)';?>