[PHP-DB] date help

2001-11-17 Thread Srinivasan Ranganathan
Hi I need to store the date and time of sign-up and date and time of last successful login in a mysql database and calculate how long the user has been using a site. how do i do this? thanks in advance Srinivasan __ Do You Yahoo!? Everything

Re: [PHP-DB] date help

2001-11-17 Thread Andreas D. Landmark
At 17.11.2001 14:45, Srinivasan Ranganathan wrote: Hi I need to store the date and time of sign-up and date and time of last successful login in a mysql database and calculate how long the user has been using a site. how do i do this? Store date either in seconds since 19700101 or use your

[PHP-DB] find a value by array key

2001-11-17 Thread olinux
$fullmenu[$parent][$id] -- I have this array - what is the quickest way that i can call the index that is $fullmenu[$parent][15] in other words use a wildcard for the $parent variable and specify the second key - i know that I could do a double foreach thru them but is there a way to just

[PHP-DB] PHP/Apache not totally closing MySQL connections

2001-11-17 Thread Bob Maple
I've been through the bug database a couple of times, and scanned through the list archives before joining, but haven't exactly found anything that matches what is happening in my case. First, dirty details: I am running MySQL 3.23.33, Apache 1.3.19, and PHP 4.0.6 under an RH system on kernel

Re: [PHP-DB] PHP/Apache not totally closing MySQL connections

2001-11-17 Thread Andreas D. Landmark
At 18.11.2001 02:06, Bob Maple wrote: I've been through the bug database a couple of times, and scanned through the list archives before joining, but haven't exactly found anything that matches what is happening in my case. First, dirty details: I am running MySQL 3.23.33, Apache 1.3.19, and PHP

Re: [PHP-DB] PHP/Apache not totally closing MySQL connections

2001-11-17 Thread Bob Maple
Proto Recv-Q Send-Q Local Address tcp1 0 burner.com:4848 burner.com:mysqlCLOSE [munge-alert!] Hmm, looks like my pastes got whacked. Oops. nope, if you leave it going for awhile nothing out of the ordinary happens, the socket will be reused (when it's time is

[PHP-DB] ODBC

2001-11-17 Thread alfareees alfareees
how can I take the first 5 records from access xp by odbc or PHP ? _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP-DB] ODBC

2001-11-17 Thread alfareees alfareees
how can I take the first 5 records from access xp by odbc or PHP ? _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL