PHP » GoLang |
login |
register |
about
|
GoLang mysqli::set_local_infile_handler
request it (303)
GoLang replacement for PHP's mysqli::set_local_infile_handler
[edit | history]
PHP mysqli::set_local_infile_handlerPHP original manual for mysqli::set_local_infile_handler [ show | php.net ]mysqli::set_local_infile_handlermysqli_set_local_infile_handler(PHP 5, PHP 7) mysqli::set_local_infile_handler -- mysqli_set_local_infile_handler — Set callback function for LOAD DATA LOCAL INFILE command DescriptionObject oriented style Procedural style 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 Parameters
The callback function should return the number of characters stored
in the Return Values
Returns ExamplesExample #1 mysqli::set_local_infile_handler() example Object oriented style
<?php Procedural style
<?php The above examples will output: Input: 23,foo 42,bar Output: 23,FOO 42,BAR See Also
|
more
Recently updated
more
Most requested
|