How to use last 5 XML elements from get-data-daily Good day.I am using php to display the last weeks trades. I am struggling to extract the exact date and data of the last 5 days to a string as I want to store it in my database. Could you please assist on how to do it? 447 Oct 24, 2018 at 14:16