test it
This commit is contained in:
@@ -48,14 +48,14 @@
|
||||
<div class="PageHeader">
|
||||
<nav role="navigation" style="height:60px;">
|
||||
<div class="nav-wrapper container">
|
||||
<div style="text-align:center;display:inline-block;padding:5px 0;width:100%;float:left;">本次答题结束 感谢你的参加 <span name="remtime">
|
||||
<div style="text-align:center;display:inline-block;padding:5px 0;width:100%;float:left;">本次答题结束<span name="remtime">
|
||||
<?php
|
||||
$con=mysqli_connect("localhost","buptStudent","buptStudentlx","buptStudentdb");
|
||||
if (!$con){echo 'Could not connect:' . mysql_error();};
|
||||
$result2 = mysqli_fetch_array(mysqli_query($con,"SELECT * FROM UserAnswer WHERE Student_ID = '$_SESSION[Student_ID]'"));
|
||||
if($result2[score]) echo "你的最终得分是: ".$result2[score]." ";
|
||||
if($result2[score]) echo "得分为: ".$result2[score]." ";
|
||||
mysqli_close($con);
|
||||
?>
|
||||
?>
|
||||
谢谢</span></div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user