add date to the given field and automatically the value will put there.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gagan1975
    New Member
    • Jul 2013
    • 1

    add date to the given field and automatically the value will put there.

    Respected sir,
    I am working in Health Department. I am maintaining my Record . I want to auto up to date the given value.

    example --
    field1=St date
    field2=1st follow up
    field3=2nd follow up
    filed4=end follow up

    1st follow up = St date+2months
    2nd follow up= St date +4months
    end follow up= St date+6 months.....
    When I will put my St date in filed1.I need automatically replace the value according to the given condition.
  • vinmeddie
    New Member
    • Jan 2013
    • 6

    #2
    First output the data from the database and keep track of the primary key.eg if field 1 is output ,provide a link and embed the key in it like www.field 1.php?id=the I'd of the record from database.

    Comment

    • vinmeddie
      New Member
      • Jan 2013
      • 6

      #3
      So wen you click the link, on the page were it takes you provide a get variable which wil pick the key from the url. Compare it to the one in the database and update accordingly..

      Comment

      Working...