Example #1
0
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Home</title>
	<link rel="stylesheet" type="text/css" href="public/style.css">
	<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
</head>
<body>
<?php 
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
include_once "vendor/autoload.php";
use src\student\student;
$student = new student();
$student_info = $student->index();
?>
<div class="container">
	<div class="row">
		<div class="com-sm-12">
			<div class="jumbotron header">
				<h3>Student Information</h3>
			</div>
		</div>
	</div>
</div>

<div class="container">
	<div class="row">
		<div class="col-sm-6 col-sm-offset-3 add_book">
		 
Example #2
0
<?php

//ini_set("display_errors","On");
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
include_once "../" . "vendor/autoload.php";
use src\student\student;
$id = $_GET['var'];
$student = new student();
$theStudent = $student->edit($id);
?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Create</title>
	<link rel="stylesheet" type="text/css" href="../public/style.css">
	<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
</head>
<body>

<div class="container">
	<div class="row">
		<div class="com-sm-12">
			<div class="jumbotron header">
				<h3>Edit Student Information</h3>
			</div>
		</div>
	</div>
Example #3
0
<?php

//ini_set("display_errors","On");
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
include_once "../" . "vendor/autoload.php";
use src\student\student;
$id = $_GET['var'];
$student = new student();
$student->delete($id);
Example #4
0
<?php

//ini_set("display_errors","On");
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
include_once "../" . "vendor/autoload.php";
use src\student\student;
$student = new student();
$student_data_insert = $student->store($_REQUEST);
Example #5
0
<?php

//ini_set("display_errors","On");
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
include_once "../" . "vendor/autoload.php";
use src\student\student;
$student = new student();
$update = $student->update($_REQUEST);