Hello,
I am making a site where people can register, login and also change their info later on.
I have two things I need help with:
1.
I indicated weither thay are online or not. But how can I make a timer that would wait 10 minutes and then put them offline (or something to put them offline right away)if they closed the browser (or just changed site).
To make changes to their info, I bring them back to a form where they had to chose their info. I can fill the form with what they have in the database when it’s a textarea or such, but how can I automaticaly put the defaul selected option to what they chose?
ex If they selected a month as Feburary, I’d like to put that option as selected.
<select name=”month”>
<option value=0> ———
<option value=”1″>January
<option value=”2″>February
<option value=”3″>March
…
</select>