Re: [PHP] Another simple question (Probably) FINISHED!!!!!

2007-07-11 Thread Daniel Brown
On 7/11/07, Jason Pruim <[EMAIL PROTECTED]> wrote: So after many days and many questions and the help of many many people, I have finished my task scheduler! I just wanted to say thank you to all who helped. Now I just need to make it look pretty and add some comments so I know why I did what I

Re: [PHP] Another simple question (Probably) FINISHED!!!!!

2007-07-11 Thread Jason Pruim
So after many days and many questions and the help of many many people, I have finished my task scheduler! I just wanted to say thank you to all who helped. Now I just need to make it look pretty and add some comments so I know why I did what I did. :) Anyone interested in looking at my

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: Yes, the text box that is currently showing up under "Day to Complete" is the one that will have the date entered as MM/DD/YY then that info will be displayed in the "Reschedule Date" field. Once I can get it storing the date correctly I want to make it show up if it's not b

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 3:25 PM, Jim Lucas wrote: Jason Pruim wrote: On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] => Array ( [31] => Array ( [txtReschedule] => 07/07/08 [chkDone] => 31 ) [39] => Array ( [txtReschedule] => 07/0

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] => Array ( [31] => Array ( [txtReschedule] => 07/07/08 [chkDone] => 31 ) [39] => Array ( [txtReschedule] => 07/08/08 [chkDone] => 39 ) [34] => Array ( [txtResche

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 11:56 AM, Jim Lucas wrote: Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] => Array ( [31] => Array ( [txtReschedule] => 07/07/08 [chkDone] => 31 ) [39] => Array ( [txtReschedule] => 07/08/08 [chkDone] => 39 ) [34] => Array ( [txtReschedule] => 07/09/0

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: here is the print_r($_POST); Array ( [tasks] => Array ( [31] => Array ( [txtReschedule] => 07/07/08 [chkDone] => 31 ) [39] => Array ( [txtReschedule] => 07/08/08 [chkDone] => 39 ) [34] => Array ( [txtReschedule] => 07/09/09 [chkDone] => 34 ) [36] => Array ( [txtReschedule]

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 11:08 AM, Jim Lucas wrote: Jason Pruim wrote: > here is the print_r($_POST); Array ( [tasks] => Array ( [31] => Array ( [txtReschedule] => 07/07/08 [chkDone] => 31 ) [39] => Array ( [txtReschedule] => 07/08/08 [chkDone] => 39 ) [34] => Array ( [txtReschedule] => 07/09

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: > here is the print_r($_POST); Array ( [tasks] => Array ( [31] => Array ( [txtReschedule] => 07/07/08 [chkDone] => 31 ) [39] => Array ( [txtReschedule] => 07/08/08 [chkDone] => 39 ) [34] => Array ( [txtReschedule] => 07/09/09 [chkDone] => 34 ) [36] => Array ( [txtReschedul

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 10:41 AM, Jim Lucas wrote: Jason Pruim wrote: On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the htm

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jim Lucas
Jason Pruim wrote: On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the html below, your var is $_POST['tasks'][#]['txtResc

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
While we are on the subject of certain dates, does this date mean anything? :) Tue, Nov-30-99 12:00:00? Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable. Thanks

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 10:07 AM, Tijnema wrote: On 7/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote: While we are on the subject of certain dates, does this date mean anything? :) Tue, Nov-30-99 12:00:00? November 30th, 1999 - In Seattle, Washington, United States, protests against the WTO meet

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Tijnema
On 7/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote: While we are on the subject of certain dates, does this date mean anything? :) Tue, Nov-30-99 12:00:00? November 30th, 1999 - In Seattle, Washington, United States, protests against the WTO meeting by anti-globalization protesters catch polic

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread David Giragosian
On 7/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote: On Jul 10, 2007, at 9:52 AM, David Giragosian wrote: > On 7/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote: > > > >> Currently that is the date I get when I try to submit any date >> through the form. I'm sure I just have something messed up in

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 10, 2007, at 9:52 AM, David Giragosian wrote: On 7/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote: Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable $taskTi

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread David Giragosian
On 7/10/07, Jason Pruim <[EMAIL PROTECTED]> wrote: Currently that is the date I get when I try to submit any date through the form. I'm sure I just have something messed up in my mktime, or in the way I'm grabbing the variable $taskTime=mktime(int 00,int 00,int 00, int $month, int $day, i

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the html below, your var is $_POST['tasks'][#]['txtReschedule'] What does

Re: [PHP] Another simple question (Probably)

2007-07-10 Thread Jason Pruim
On Jul 9, 2007, at 9:09 AM, Shafiq Rehman wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) When I did that I got this error: "[Tue Jul 10 09:33:12 2007] [error] PHP Parse error: syntax error, unexpected T_LNUMBER in /Volum

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Tijnema
On 7/9/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/9/07, Tijnema <[EMAIL PROTECTED]> wrote: > On 7/9/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > > On 7/9/07, Shafiq Rehman <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > correct syntax for mktime is mktime( int hour, int minute, int second

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Daniel Brown
On 7/9/07, Tijnema <[EMAIL PROTECTED]> wrote: On 7/9/07, Daniel Brown <[EMAIL PROTECTED]> wrote: > On 7/9/07, Shafiq Rehman <[EMAIL PROTECTED]> wrote: > > Hi, > > > > correct syntax for mktime is mktime( int hour, int minute, int second, int > > month, int day, int year) > > > > -- > > Shafiq Re

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Tijnema
On 7/9/07, Daniel Brown <[EMAIL PROTECTED]> wrote: On 7/9/07, Shafiq Rehman <[EMAIL PROTECTED]> wrote: > Hi, > > correct syntax for mktime is mktime( int hour, int minute, int second, int > month, int day, int year) > > -- > Shafiq Rehman (ZCE) > http://www.phpgurru.com | http://shafiq.pk > Cell

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Daniel Brown
On 7/9/07, Shafiq Rehman <[EMAIL PROTECTED]> wrote: Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) -- Shafiq Rehman (ZCE) http://www.phpgurru.com | http://shafiq.pk Cell: +92 300 423 9385 On 7/9/07, Jason Pruim <[EMAIL PROTECTED]> wrot

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Jim Lucas
Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); where are you getting the $_POST['txtReschedule'] var from? in the html below, your var is $_POST['tasks'][#]['txtReschedule'] What does this var value look like? try strtotime() on it

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Jason Pruim
On Jul 9, 2007, at 9:02 AM, clive wrote: Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); im not certain, but I dont think you can pass the date to mktime as 1 variable, the function requires the following mktime($hour, $minute,$

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread Shafiq Rehman
Hi, correct syntax for mktime is mktime( int hour, int minute, int second, int month, int day, int year) -- Shafiq Rehman (ZCE) http://www.phpgurru.com | http://shafiq.pk Cell: +92 300 423 9385 On 7/9/07, Jason Pruim <[EMAIL PROTECTED]> wrote: Okay so given this section of code: $taskTime=m

Re: [PHP] Another simple question (Probably)

2007-07-09 Thread clive
Jason Pruim wrote: Okay so given this section of code: $taskTime=mktime(00,00,00,$_POST['txtReschedule']); im not certain, but I dont think you can pass the date to mktime as 1 variable, the function requires the following mktime($hour, $minute,$second, $month , $day ,$year); so maybe you