Did you manage to get this $diceNumber loaded with a value , so that you can re use it later on this page...? (like submitting to SQL for datal ogging)
I have a similar need, so I follow this thread step by step...but an echo $diceNumber on the main page (index.php)...is still giving blank/null value..
Do you know how to pass back the variable to index.php?