0

I'm showing the date and hour in the website header, this date/hour get from a data base MySQL, these change every time, twice daily. The problem is that it shows an earlier date, i.e., one or two days before in the browser. How to prevent this?. I've tried to do this between header tag, but this wasn't the solution:

<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />   
<meta http-equiv="pragma" content="no-cache" />
Paul Proaño
  • 111
  • 1
  • 11

0 Answers0