| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read | ![]() |
|
||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am really struggling with this code below. Anyone help?
I don't understand why it isn't working! I can usually sort any php issues but the code below throws a wobbly. The code explained: I have a date that i want to insert into mysql but i want to add days to it beforehand. First I need to convert it into US date (y-m.d) as opposed to (d-m-y) then add the extra days PHP Code:
$outdat and $remdate echo out correctly so the form info is being passed to the script Can't understand why it isn't though!
__________________
West Dorset Community Last edited by jon123; 07-25-2007 at 10:18 AM. |
|
|||
|
umm, that's strange! it now works.
I received an email saying my login script wasn't working either but now ok. Server glitch? Anyway doesn't matter as it now works as it should.
__________________
West Dorset Community |
|
|||
|
Hi Kev,
No because yours uses todays date, mine uses various. Plus adding $adv any other way that converting to seconds first just won't work. It seems to not move the month 'up' when days exceed total for month. It is probably me but yes you are right, it certainly could be condensed for 'cleaner coding'. This bit is beyond me i'm afraid.
__________________
West Dorset Community |
|
|||
|
Quote:
my 'Hello World' script could do that. ![]()
__________________
West Dorset Community |
![]() |
| Thread Tools | |
| Display Modes | |
|
|