arjundass Posted February 9, 2011 Share Posted February 9, 2011 I have 2 products in my website. I have added an creation date field and expiration date field in orders table. I have populated the creation date field with date when order is placed , need to populate the expiration field .I am using product id to fill expiration field , If product id = 5 , then expiration_date = creation date + 30 days Else product id = 10 then expiration_date = creation date + 60 daysKindly help with PHP code . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now