Failed to connect to database: No such file or directory MYSQL-PHP CODE PRESETS
시스템 관리 : [ADMINISTRATOR] 페이지코드 관리 : [Y_SCRIPTS] 데이터베이스 관리 : [PHPMYADMIN]
HTML FORM CODE 관리 :
수정 입력
<div class='basic_form_div'>
<form name='basic_form' method='post' action='' target='data_exec_frame'>
</form>
</div>
인서트문(INSERT/CREATE)
$insert_query="insert into ``() values()";
mysqli_query($connect,$insert_query);
생성된 테이블 목록 : BLANK

업데이트문(UPDATE/MODIFY)
$update_query="update `` set ";
mysqli_query($connect,$update_query);
셀렉트문(READ/VIEW) : Multi-values
$records_query="select * from `` 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 `` 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 `` where `NO` like '$no'";
mysqli_query($connect,$delete_query);