diff --git a/include/install.php b/include/install.php index fde1148..c2d9d1a 100644 --- a/include/install.php +++ b/include/install.php @@ -25,6 +25,8 @@ echo ''; echo ''; echo ''; echo '
'; +echo ''; +echo '
'; echo ' @@ -37,6 +39,7 @@ echo '

Reģistrēt iztērētās briketes

+ Atlikuši '.$row['BrikAtlicis'].' iepakojumi'; + } ?> Briketes
@@ -26,9 +32,9 @@ if(isset($_POST['pievienot'])) $atnemt = "UPDATE Briketes SET BrikAtlicis = BrikAtlicis-1 WHERE `BrikID` = 1"; mysqli_query($conn,$atnemt); if (mysqli_query($conn,$pievienot)) { - echo "New record created successfully"; + //echo "New record created successfully"; } else { - echo "Error: " . $pievienot . "
" . mysqli_error($conn); + //echo "Error: " . $pievienot . "
" . mysqli_error($conn); } echo ' '; + header( "refresh:2;url=index.php" ); } + ?>