How to compare dates greater than in php?

<?php$today = date(‘d-m-Y’); // Date must be in ‘d-m-Y’ format$date = “07-07-2020”; if(strtotime($date) < strtotime($today)){    echo $date .’ date is smaller than today ‘.$today […]

Read More

How do I set and get a cookie with jQuery?

<script type=’text/javascript’>function setCookie(key, value) {         var expires = new Date();         expires.setTime(expires.getTime() + (1 * 24 * 60 * 60 * 1000));         document.cookie = key + […]

Read More