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 #174102 is a reply to message #174101] Sat, 21 May 2011 15:07 Go to previous messageGo to previous message
Co is currently offline  Co
Messages: 75
Registered: May 2011
Karma:
Member
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);
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================

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
[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 10 12:03:59 GMT 2024

Total time taken to generate the page: 0.04621 seconds