페이지코드 관리 : [Y_SCRIPTS] 데이터베이스 관리 : [PHPMYADMIN]

TEST FUNCTION : [ADD_TRANSACTION] [LIST_TRANSACTIONS]

HTML FORM CODE 관리 : member_mailing
수정 입력
<div class='basic_form_div'>
<form name='basic_form' method='post' action='' target='data_exec_frame'>
<input type='text' class='basic_input_class' name='no' value='$no'>
<input type='text' class='basic_input_class' name='member_no' value='$member_no'>
<input type='text' class='basic_input_class' name='name' value='$name'>
<input type='text' class='basic_input_class' name='email' value='$email'>
<input type='text' class='basic_input_class' name='agree' value='$agree'>
<input type='text' class='basic_input_class' name='saved' value='$saved'>
</form>
</div>
생성된 테이블 목록 : BLANK
article
article_attach
article_complains
article_likes
article_reply
article_reply_complains
article_reply_likes
collect
count_hits
count_likes
member
member_artist
member_artist_works
member_artist_works_simple
member_artwork
member_mailing
member_visitor

$no=$_POST['no'];
$member_no=$_POST['member_no'];
$name=$_POST['name'];
$email=$_POST['email'];
$agree=$_POST['agree'];
$saved=$_POST['saved'];
인서트문(INSERT/CREATE)
$insert_query="insert into `member_mailing`( `no`, `member_no`, `name`, `email`, `agree`, `saved`) values( '$no', '$member_no', '$name', '$email', '$agree', '$saved')";
mysqli_query($connect,$insert_query);
업데이트문(UPDATE/MODIFY)
$update_query="update `member_mailing` set `member_no`='$member_no', `name`='$name', `email`='$email', `agree`='$agree', `saved`=now() where `no` like '$no'";
mysqli_query($connect,$update_query);
셀렉트문(READ/VIEW) : Multi-values
$records_query="select * from `member_mailing` where `NO` like '$no'";
$records_result=mysqli_query($connect,$records_query);
$records_num=mysqli_affected_rows($connect);
for($i=0;$i<$records_num;$i++) {
$record_row=mysqli_fetch_array($records_result);
//your code for table record value
}
셀렉트문(READ/VIEW) : Specific-value
$record_query="select * from `member_mailing` where `NO` like '$no'";
$record_result=mysqli_query($connect,$record_query);
$record_row=mysqli_fetch_array($record_result);
//your code for table record value
델리트문(DELETE/ERASE)
$delete_query="delete from `member_mailing` where `NO` like '$no'";
mysqli_query($connect,$delete_query);