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 #174106 is a reply to message #174102] Sat, 21 May 2011 23:55 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
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.
jstucklex(at)attglobal(dot)net
==================
[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 20:40:23 GMT 2024

Total time taken to generate the page: 0.04629 seconds