Your IP : 3.14.249.184


Current Path : /data/web/virtuals/51568/virtual/www/www/plany.bak/
Upload File :
Current File : /data/web/virtuals/51568/virtual/www/www/plany.bak/planyJeAktualni.php

<?php
  if (file_exists('funkce/DbConnect.php')){
     require_once('funkce/DbConnect.php');
  }
  if (file_exists('../../funkce/DbConnect.php')){
     require_once('../../funkce/DbConnect.php');
  }
  if (IsSet($_POST["idPlan"])){$idPlan = $_POST["idPlan"];} 
  $sql = "select MAX(pp.id) as maxid from pl_plany pp where pp.idrok = (select idrok from pl_plany where id = $idPlan)";
  $result = mysqli_query($conn, $sql);
  $row =  mysqli_fetch_object($result);
  echo $row->maxid;  
?>