D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
diafrica
/
result.dominicaninstitute.org
/
Filename :
000.php
back
Copy
<?php include("Connecter/dataconn.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php include("head.php"); ?> </head> <body> <?php include("top.php"); ?> <?php include("dtable0.php"); ?> <?php include("nav.php"); ?> <?php include("dtable1.php"); ?> <?php include("topcontainer.php"); ?> <!--Content Goes Here--> <?php $sql="select * from studentsexisting"; $result=mysql_query($sql); while($row=mysql_fetch_array($result)) { $a=$row['matric']; $b=$row['programmesn']; $c=$row['yearofentry']; $d=$row['archived']; $e=$row['session']; $f=$row['level']; $g=$row['status']; $h=$row['de']; $sql2="insert into studentsexisting2 (matric,programmesn,yearofentry,archived,session,level,status,de) values ('$a','$b','$c','$d','$e','$f','$g','$h')"; $result2=mysql_query($sql2); } echo("DONE"); ?> <!--Content Ends Here--> <?php include("bottomcontainer.php"); ?> <?php include("dtable2.php"); ?> <?php include("side.php"); ?> <?php include("dtable3.php"); ?> <?php include("foot.php"); ?> </body> </html> //Check if database is in unstable state. If yes, go to home page $imp="select * from sessions where status='started' or status='editstu' or (status='opened' and stage<>2)"; $resimp=mysql_query($imp); $impnum=mysql_num_rows($resimp); if($impnum>0){ include("dadmin.php"); exit(); }