By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,660 Members | 1,593 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,660 IT Pros & Developers. It's quick & easy.

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

P: 1
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.
Jul 9 '13 #1
Share this Question
Share on Google+
2 Replies

P: 6
First output the data from the database and keep track of the primary 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.
Jul 10 '13 #2

P: 6
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..
Jul 10 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.