I found an answer to this and tried it but it did not work so I am posting this for more help. I posted a reply to the thread I found earlier but no one replied.
$response = mt_rand(1,6);
echo '<script>currentQuote = $currentQuote;</script>';//this not working
echo "currentQuote is:";
echo $currentQuote; //this shows on the screen fine
Any help would be GREATLY appreciated. I have run out of ideas to try.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread