-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
45 lines (37 loc) · 1.1 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
include 'data.php';
session_start();
$co=mysqli_query($con,'select * from soal');
$num=mysqli_num_rows($co);
$_SESSION['score']=0;
?>
<html lang="en">
<head>
<style>
</style>
<meta charset="UTF-8">
<title>Title</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="js/jquery.js">
</script>
<script src="js/popper.js">
</script>
<script src="js/bootstrap.js">
</script>
<link href="css/bootstrap.css" rel="stylesheet">
</head>
<body>
<div class="container justify-content-center shadow">
<div class="card" >
<div class="card-body text-center ">
<h5 class="card-title">welcome</h5>
<h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
<p > test qu <?php echo$num ;?></p><!-- get question !-->
<p > time <?php echo$num /3 ;?></p><!-- get question time!-->
<a href="121.php?z=1"> <button class="btn btn-primary" type="submit">start</button></a> <!-- pagination!-->
<p> marziyeh barooei</p>
</div>
</div>
</div>
</body>
</html>