Re: Another simple question (Probably)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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'][#]['txtReschedule']

What does this var value look like?

try strtotime() on it and see what you get.

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!

Do a print_r() on your $_POST array and show us that.

--
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux