[PHP] MySql DB access upon browser close

2004-07-06 Thread Frank Voorburg
Hi, Any help with the following is appreciated. I want to use php to store the time that a user spent on 1 particular webpage in a mysql database. What I'm trying to do now is: 1) using Javascript's OnLoad event I read out the time when the user 1st opens the webpage 2) using Javascript's

Re: [PHP] MySql DB access upon browser close

2004-07-06 Thread Eric Emminger
Hi Frank, I think you could use window.location=test.php?time=xxx in the onUnload instead of opening a new window. Eric On Mon, 5 Jul 2004 14:08:14 -0400, Frank Voorburg [EMAIL PROTECTED] wrote: Hi, Any help with the following is appreciated. I want to use php to store the time that a