update : 2015.11.03
php.shukuma.com검색:
|
mysqli::set_local_infile_handlermysqli_set_local_infile_handler(PHP 5) mysqli::set_local_infile_handler -- mysqli_set_local_infile_handler — Set callback function for LOAD DATA LOCAL INFILE command 설명객체 기반 형식 절차식 형식 Set callback function for LOAD DATA LOCAL INFILE command The callbacks task is to read input from the file specified in the LOAD DATA LOCAL INFILE and to reformat it into the format understood by LOAD DATA INFILE. The returned data needs to match the format specified in the LOAD DATA 인수
The callback function should return the number of characters stored
in the 반환값
성공 시 예제Example #1 mysqli::set_local_infile_handler() example 객체 기반 형식
<?php 절차식 형식
<?php 위 예제들의 출력: Input: 23,foo 42,bar Output: 23,FOO 42,BAR |