| View previous topic :: View next topic |
| Author |
Message |
gilles Guest
|
Posted: Tue Jun 20, 2006 10:21 pm Post subject: which vars hold start and end dates for the event? |
|
|
Hi Ian,
We're almost there...
During the writing of the event (events.php) we also write to another db (equipment) successfully. However, we need to also write b both the start and end date of the event in unix time (epoche time). What are the vars that hold this information?
PS. Most of the events will be of a "repeating" nature, meaning, an event occurs for 1 to several days.
Thanks for your contiued help,
Gilles |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Jun 20, 2006 10:26 pm Post subject: |
|
|
| starttime and endtime should hold those |
|
| Back to top |
|
 |
gilles Guest
|
Posted: Wed Jun 21, 2006 2:06 am Post subject: Thanks! |
|
|
Thanks Ian,
I'll give those a try.
Gilles |
|
| Back to top |
|
 |
dino Guest
|
Posted: Fri Jun 23, 2006 7:22 am Post subject: |
|
|
Hi Ian,
another question about end times...what if we need to know the end time of the event before the submit button is hit...does the repeat and date function hold that value in memory? If so how can we access that?
Thank you!
Dino |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Jun 23, 2006 1:46 pm Post subject: |
|
|
| You would have to use javascript to see what date(s) / time(s) the user has selected. |
|
| Back to top |
|
 |
Dino Guest
|
Posted: Fri Jun 23, 2006 8:54 pm Post subject: |
|
|
hi Ian, We are really stuck!
We need to use the enddate in PHP code to calculate a value to be written in our equipment tab...knowing we can't do a refresh to pass this variable(enddate). Is there a trick or technique you can recommend to get the variable to pass to PHP using javascript but without refreshing the PHP script....?
Dino |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Fri Jun 23, 2006 9:04 pm Post subject: |
|
|
| You could use an iFrame / javascript or look into AJAX. |
|
| Back to top |
|
 |
|