Jump to content

PHP Problem

- - - - -

  • Please log in to reply
4 replies to this topic

#1
lina

lina

    Learning Programmer

  • Members
  • PipPipPip
  • 34 posts
Hello,


The staff under comment is what I did so far but I could not do the other staff. Also, some of my code does not work correctly. Can someone correct me and help write the rest of the code

Invoice date: May 3, 2011
Due date: September 6, 2011
Current date: July 8, 2011
current time: 12:17: 23 PM
Due date message: This invoice is due in 0 years, 2 months, and .. days.

and if the due date is after the current date display
Due date message: This invoice is 0 years, 2 months, and .. days overdue

Thanks and I greatly appreciate your time and help

Edited by lina, 08 July 2011 - 02:45 PM.


#2
lina

lina

    Learning Programmer

  • Members
  • PipPipPip
  • 34 posts
I really need some help ASAP

#3
rhossis

rhossis

    Learning Programmer

  • Members
  • PipPipPip
  • 46 posts
Hi, is it possible could you post your code for assistance?

#4
deanjwilliams

deanjwilliams

    Newbie

  • Members
  • Pip
  • 3 posts
I would have thought you would swap the order of the variables, could be wrong as it is difficult to say not seeing the code the question.

#5
lina

lina

    Learning Programmer

  • Members
  • PipPipPip
  • 34 posts
Problem solved. Thanks anyway




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users