Hello,
Im in the process of seting up a classified listing section. Im using 2co for the payment gateway and so far everything is working.
When payment is taken they are redirected to a page i specify which uses information from the transaction to update the users listing info.
So when payment is taken the active field gets changed to Y and the length gets changed to how ever long they would like the listing on the site for.
what i need to do is, depending on how long they chose for the listing to appear on the site, add an expire_date.
the passback is done for how many months they would like. so if they chose to have the listing on there for 2 months the listing would be: date_added= 10/12/2004 and the expire_date =10/02/2005.
for the date_added im using the date() to create the date as dd/mm/yyyy in a hidden field in the add listing form.
how would id do the expire_date?
Thanks,
Danny Lewin