Jump to content

Vangelis

Members
  • Posts

    1076
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Vangelis

  1. 3 hours ago, Heritage1 said:

    Long time is right, curious if you have it fixed yet, if not, one major problem is the script line, you can't have <html> and <body> first of all on the same call line. 2 different animals. 2nd, the type=/text is totally wrong, and it also needs its own call such as this for example;

    <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css"> ( see how the type="text/css"> is called?? this applies to most everything in the <head> example </head> ONLY area, before the closing of the head of course. Much more on this, but let me know if you need help

    Jim

    I didnt got anything not in my email nor in pm of the forum

  2. public static function TotalHoursBetweenDates($icao, $startdate, $enddate) { //Count total hours
      $query = "SELECT SUM(flighttime) as hours FROM phpvms_pireps WHERE submitdate BETWEEN '$startdate' AND '$enddate' and (depicao='$icao' or arricao='$icao')";
      $result = DB::get_row($query);
    
      return $result->hours;
    }

     

×
×
  • Create New...