This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
inside/inside/setweekprogramtext.php
T
2009-10-13 15:43:04 +02:00

18 lines
307 B
PHP

<?php
require_once "includes.php";
$id = $_GET["wid"];
$text = htmlentities($_GET["text"]);
$type = $_GET["type"];
$sql = "UPDATE weekprogram SET " .
" ".$type."text = '$text' " .
"WHERE " .
" id = $id";
print($sql);
$conn = db_connect();
$result =& $conn->query($sql);
?>