Advertisement
sovinjav

index.php

Oct 6th, 2023
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | Source Code | 0 0
  1. <?php
  2.     error_reporting(-1);
  3.     require_once 'func.php';
  4.     require_once 'classes.php';
  5.    
  6.     #connecton to database
  7.     $db_conn = connectDB();
  8.     $specialties = getSpecialties($db_conn);
  9.     $exams = getExams($db_conn);
  10.     $student1 = new Student(NULL, NULL, NULL, nULL, NULL, NULL, NULL);
  11.     $student1->getFromDBAll($db_conn, $exams);
  12.    
  13.     include('templates/index.html');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement