Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->ipsclass->DB->simple_exec();
- while ($row = $this->ipsclass->DB->fetch_row())
- {
- $date = explode("-",$row[$this->funct->cfield['LEA']['SQL']],3);
- $timestamp = mktime (1,1,1,$date[1],$date[2],$date[0]);
- $today = getdate();
- if (($today[0] - $timestamp) >= (60*60*24*30*6))//60 sec, 60min, 24 hours, 30 days, 6 months
- {
- $count_validations++;
- if ($row[$this->funct->cfield['DIV']['SQL']] == $this->ipsclass->member[$this->funct->cfield['DIV']['SQL']])
- {
- $count_division++;
- }
- }
- }
- i know the errors on line 51
- Error line is the following:
- $timestamp = mktime (1,1,1,$date[1],$date[2],$date[0]);
- Error from the ATS is the following:
- Warning: mktime() expects parameter 6 to be long, string given in /home/tghqorg/subsites/twhq/ats/wrapper/modules/info_hud_pending_discharge.php on line 51
Add Comment
Please, Sign In to add comment