FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » problem saving date fields
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: problem saving date fields [message #174136 is a reply to message #174106] Sun, 22 May 2011 21:20 Go to previous messageGo to previous message
Co is currently offline  Co
Messages: 75
Registered: May 2011
Karma:
Member
On 22 mei, 01:55, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 5/21/2011 11:07 AM, Co wrote:
>
>
>
>
>
>
>
>
>
>> On 21 mei, 16:37, Jerry Stuckle<jstuck...@attglobal.net>  wrote:
>>> On 5/21/2011 3:18 AM, Co wrote:
>
>>>> On 21 mei, 08:47, Co<vonclausow...@gmail.com>    wrote:
>
>>>> > Did some testing with the print command.
>>>> > When I update the dates these are the results.
>
>>>> > when I change departure:
>>>> > arrival 2009-0120 departure 11-07-01
>
>>>> > when I change arrival:
>>>> > arrival 2009-07-01 departure 2011-01
>
>>>> > it doesn't make any sense to me.
>
>>>> > Marco
>
>>>> After some more testing I figured out that the month value of the date
>>>> which is not
>>>> updated makes the date go corrupt (set to default). So someone the
>>>> month value doesn't get read
>>>> well from the $_POST['departure_month'].
>
>>>> Any thoughts.
>
>>>> MArco
>
>>> What's in your $_POST array?
>
>>> print_var($_POST);
>
>> Well basically when I change one of the dates; the one changed is
>> fine.
>> The other one untouched will only return the day and the year.
>> Something like this: 122009.
>> This doesn't happen when I change any other field; leaving the dates
>> unchanged.
>
>> Marco
>
> That doesn't answer my question.
>
> If you want help, you need to answer our questions.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

No you are right Jerry.
Problem is my program doesn't know the command print_var($POST);

Marco
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: is dis da place?
Next Topic: foreach in reverse
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 18:50:24 GMT 2024

Total time taken to generate the page: 0.04750 seconds