Re: Another simple question (Probably)
| From: | Jason Pruim | Date: | Tue, 10 Jul 2007 15:04:47 +0000 |
| Subject: | Re: Another simple question (Probably) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-258551@lists.php.net to get a copy of this message | ||
On Jul 10, 2007, at 10:41 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/09 [chkDone] => 34 ) [36] => Array ( [txtReschedule] => ) [35] => Array ( [txtReschedule] => ) [32] => Array ( [txtReschedule] => ) [33] => Array ( [txtReschedule] => ) [37] => Array ( [txtReschedule] => ) [38] => Array ( [txtReschedule] => ) ) )On Jul 9, 2007, at 10:56 AM, Jim Lucas wrote:Do a print_r() on your $_POST array and show us that.Jason Pruim wrote:I was getting it because that's how I always pull posted variables :) I did try using the one you posted, even switching out the # for $row['id'] and couldn't get that to work. strtotime() wasn't reporting anything that I could see. I feel like I am so close to having this right, but yet, so far.... Thanks for looking!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 and see what you get.
--Jim Lucas "Some men are born to greatness, some achieve greatness,-- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.comand some have greatness thrust upon them."Twelfth Night, Act II, Scene Vby William Shakespeare