본문 바로가기

프로그래밍

게시판

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
</head>
<body>
<?php 
$table = $_GET["table"];

if ($table == "free")
$board_title = "자유게시판";
elseif ($table == "download")
$board_title = "자료실";
elseif ($table == "notice")
$board_title = "공지사항";
else
$board_title = "문의게시판";
?>

<h1><?= $board_title?></h1>
</body>
</html>

'프로그래밍' 카테고리의 다른 글

아이디 비번 입력  (0) 2022.03.06
게시판2  (0) 2022.03.06
조건문2(학점출력)  (0) 2022.01.08
조건문1  (0) 2022.01.08
덧셈 계산기  (1) 2022.01.08