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.


echo <<<HTML

<tr>
    <td bgcolor="{$rowColor}">ID#, {$row['id']} </td>
    <td bgcolor="{$rowColor}">TicklerName, {$row['task_name']}  </td>
<td bgcolor="{$rowColor}">Instructions, <a href='{$row['task_desc']}'>Instructions</a></td>
    <td bgcolor="{$dowColor}">DayOfWeekWord, {$dowword} </td>
<td bgcolor="{$rowColor}">DateToReschedule, <input type='text' name='tasks[{$row['id']}][txtReschedule]' value=''></td>
    <td bgcolor="{$rowColor}">DateRescheduled, {$Date}</td>
<td bgcolor="{$rowColor}"><a href='update.php?taskid={$row['id']}&taskdate={$taskdate}'>Click here!</a></td>
    <td bgcolor="{$rowColor}">CheckboxForWhenDone,
<input type='checkbox' name='tasks[{$row['id']}][chkDone]' value='{$row['id']}'></td>
</tr>

HTML;

Why am I getting a time stamp of:

1165640400
Sat, Dec-09-06?

I have been fighting with trying to figure this out and finally decided to show my ignorance of the language and ask for help :) Besides, the boss wants this done :)

Jason
<?PHP

    if($brain =="Monday"){
        echo "Let me go home!"
    };

?>

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



--
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

Reply via email to