So im having issue with my code. Im trying to implement multiple mktime functions to PHP code using if and else if values but still im getting something wrong. I dont know what could be wrong. I get error PHP check online and i have fixed the code abit, but still i get the error Here is the code
<?
// Check if clock is 4:20am/4:20pm (12h clock) or 4:20/16:20 (24h clock)
if (time() = mktime(4,20,0,0,0,0));
require_once('doc.html');
else if
(time() > mktime (4,20,0,0,0,0));
require_once('doc2.html');
else if
(time() = mktime(16,20,0,0,0,0));
require_once('doc2.tml');
else if
(time() > mktime(16,20,0,0,0,0));
require_once('doc2.html');
?>