Your IP : 216.73.217.87


Current Path : /hdd/hdd11/www/vlevski/enter/stdata/
Upload File :
Current File : /hdd/hdd11/www/vlevski/enter/stdata/newyearstuff.php

<!DOCTYPE HTML>
<html lang="bg" prefix="og: http://ogp.me/ns#">
	<head>
		<title>Нова година</title>
	</head>
	<body>
		<?php
			include("../conn.php");
			$tt=mysqli_query($db, "SELECT * FROM `stuff` ORDER BY `i` ASC");
			while ($st=mysqli_fetch_row($tt))
			{
				$i=$st[0];
				$k=$st[13];
				print("".$k."<br />");
				if ($k!="")
				{
					$k+=100;
					$upd=mysqli_query($db, "UPDATE `stuff` SET `k` = '".$k."' WHERE `stuff`.`i` = '".$i."';");
					print("".$k."-updated<br />");
				}
				print("-<br />");
			}
			print("Done");
		?>
	</body>
</html>