![]() |
|
#11
|
||||
|
||||
|
And, thank you for pointing out the flaws, the updated code has gone straight onto my sites.
This is how it's supposed to work ![]()
__________________
Easy New Shop A work in progress |
|
#12
|
|||
|
|||
|
no worries mate
Luke |
|
#13
|
|||
|
|||
|
Thanks for this code which has been really helpful.
The code $sEndDate = $sEndDate[2].'/'.$sEndDate[1].'/'.$sEndDate[0]; now returns date with time that distorts the format of expiry date. Whats the workaround? Reversing the order i.e $sEndDate = $sEndDate[0].'/'.$sEndDate[1].'/'.$sEndDate[2];works well but gives the date in the format yyyy-mm-dd which is somehow confusing as it is not in UK format.
__________________
Beautify your garden with low priced LawnMowers |
![]() |
| Thread Tools | |
| Display Modes | |
|
|