Current Path : /data/web/virtuals/51568/virtual/www/www/plany.bak/ |
Current File : /data/web/virtuals/51568/virtual/www/www/plany.bak/textyUvodUloz.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["pozn"])){$pozn = $_POST["pozn"];} if (IsSet($_POST["idUvod"])){$idUvod = $_POST["idUvod"];} $pozn = html_entity_decode($pozn); $call = mysqli_prepare($conn, 'UPDATE pl_uvod SET obsah= ? WHERE id = ?'); mysqli_stmt_bind_param($call, 'si', $pozn, $idUvod); if(!mysqli_stmt_execute($call)){ echo mysqli_error($conn); } ?>