[PHP] I think this is a mysql question

2004-02-11 Thread Ronald Ramos
How can I use PHP to compute the difference between two dates(with time)? Let's say in mysql, I have field 1, login, and on field 2, I have logout. How can I compute the diffrence between login and logut and output it on field 3 let's say totaltime. Is this a mysql question? Or can PHP actually

RE: [PHP] Re: I think this is a mysql question

2004-02-11 Thread Ronald Ramos
To: [EMAIL PROTECTED] Subject: [PHP] Re: I think this is a mysql question Ronald Ramos wrote: How can I use PHP to compute the difference between two dates(with time)? Let's say in mysql, I have field 1, login, and on field 2, I have logout. How can I compute the diffrence between login

[PHP] SESSION VARIABLES

2004-02-09 Thread Ronald Ramos
Hi All, I've created 3 sample scripts, pls see below. My problem is that page3.php can't display the value $username and $password Or is it because it the variables were not importe to that page, that's why $username and $password has no value? If it is, how can I import it? Thank you -