[PHP] 검색
유효성 검사 후 검색기능 index.php <script> function check_search() { if (!document.board_form.search.value) { alert("검색어를 입력하세요!"); document.board_form.search.focus(); ret...
유효성 검사 후 검색기능 index.php <script> function check_search() { if (!document.board_form.search.value) { alert("검색어를 입력하세요!"); document.board_form.search.focus(); ret...
홈페이지 index 페이지에 게시판 최근게시물을 노출할 수 있다. /index.php index 최상단 session 관련 코드 필수 <? session_start(); @extract($_GET); @extract($_POST); @extract($_SESSION); ?> <? include "./lib/...
servey.sql create table survey( ans1 int, ans2 int, ans3 int, ans4 int ); insert into survey values(0, 0, 0, 0); servey.php <? session_start(); @extract($_POST); @extract($_GE...
댓글 게시판 글쓰기, 글저장, 글수정, 글삭제 기능 세 개의 이미지 파일 업로드 가능 글 내용 보기 페이지에 댓글 쓰기 기능 추가 글 목록 페이지의 글 제목 뒤에 댓글의 개수 표시 특징 free.sql, free_ripple.sql DB table 2개 사용 insert, insert_ripple 2개 사용 delete...
download.sql file 첨부에 필요한 filed 첨부되는 실제 파일 이름 실제 업로드된 파일 파일의 타입 create table download ( num int not null auto_increment, id char(15) not null, name char(...
/concert/concert.sql create table concert ( num int not null auto_increment, id char(15) not null, name char(10) not null, nick char(10) not null, subject char(100) not null, content...
기본게시판 제작 요구사항 페이지 번호가 표시된 글 목록 페이지 조회수 표시 글 내용 보기 내용 검색 html 쓰기 가능 글 수정 글/수정 글 저장(한 파일에 처리) 작성자와 관리자만 글 수정 및 삭제 가능 게시판 제작 파일 greet.sql: 가입인사 데이터베이스 테이블 생성 list.php: 글 목록 ...
아이디찾기 /login/id_find.php 이름, 연락처로 $id를 찾는다. action=”find.php” $name $hp1, $hp2, $h3 버튼 type=”button” <? session_start(); @extract($_GET); @extract($_POST); @extract($_SESSI...
/login/member_form_modify.php <? session_start(); @extract($_POST); @extract($_GET); @extract($_SESSION); ?> <!DOCTYPE html> <html lang="ko"> <head> <meta char...
/login/login_form.php $id 와 $pass 값을 post로 login.php에 넘겨준다. <? session_start(); @extract($_GET); @extract($_POST); @extract($_SESSION); ?> <!DOCTYPE html> <html lang="ko"&g...