JavaScript question.
I have a web page incorporating JavaScript, but it doesn't work when the user reloads it using the browser back button. The problem is that any variables that I set up the first time it loaded are now lost. Is there any way to prevent this? - load them into an object which is permanent for that browser session perhaps? If not, is there a way to detect if the page has been accessed using a browser back button?
PHP Question.
I want to throttle sending out emails to a mailing list. So I was looking for a function like pause(), wait(), delay(). At least this is the sort of function I was looking for on php.net, to no avail (there are hundreds of functions). Ok, my searching skills probably suck - can anyone tell me what function there is? Also, what's the modulo operator in PHP, is it %?
Thanks, and apologies for my ignorance![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I have a web page incorporating JavaScript, but it doesn't work when the user reloads it using the browser back button. The problem is that any variables that I set up the first time it loaded are now lost. Is there any way to prevent this? - load them into an object which is permanent for that browser session perhaps? If not, is there a way to detect if the page has been accessed using a browser back button?
PHP Question.
I want to throttle sending out emails to a mailing list. So I was looking for a function like pause(), wait(), delay(). At least this is the sort of function I was looking for on php.net, to no avail (there are hundreds of functions). Ok, my searching skills probably suck - can anyone tell me what function there is? Also, what's the modulo operator in PHP, is it %?
Thanks, and apologies for my ignorance