"എൻ.എസ്.പി.എച്ച്.എസ്.എസ്. പുറ്റടി" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
| വരി 72: | വരി 72: | ||
* വിദ്യാരംഗം കലാ സാഹിത്യ വേദി. | * വിദ്യാരംഗം കലാ സാഹിത്യ വേദി. | ||
* ക്ലബ്ബ് പ്രവർത്തനങ്ങൾ. | * ക്ലബ്ബ് പ്രവർത്തനങ്ങൾ. | ||
<?php | |||
$connect = mysqli_connect("localhost", "root", "", "test_db"); | |||
$sql = "SELECT * FROM tbl_video ORDER BY video_id LIMIT 5"; | |||
$result = mysqli_query($connect, $sql); | |||
?> | |||
<html> | |||
<head> | |||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"> | |||
<meta charset="utf-8"> | |||
<title>Webslesson Tutorial</title> | |||
<script src="jquery.js"></script> | |||
<script src="js/bootstrap.js"></script> | |||
<link href="css/bootstrap.css" rel="stylesheet" /> | |||
</head> | |||
<body> | |||
<div class="container" style="width:500px; border:1px solid #ccc;"> | |||
<br /> | |||
<marquee behavior="scroll" direction="up" onmouseover="this.stop();" onmouseout="this.start();"> | |||
<?php | |||
if(mysqli_num_rows($result) > 0) | |||
{ | |||
while($row = mysqli_fetch_array($result)) | |||
{ | |||
echo '<label><a href="'.$row['video_link'].'" target="_blank">'.$row['video_title'].'</a></label>'; | |||
} | |||
} | |||
?> | |||
</marquee> | |||
<br /> | |||
</div> | |||
</body> | |||
</html> | |||
== മാനേജ്മെന്റ് == | == മാനേജ്മെന്റ് == | ||