User Tools

Site Tools


php_build_in_functions

If you want to send us your comments, please do so. Thanks
More on comments


PHP Buildin functions

array_map

Replaces the contents of the array for each element with the result of the function in the first argument of array_map

array_map example

<?php
function double($n) {
  return ($i + $i);
}
 
$numbers = [1, 4, 5, 9, 15];
print_r($numbers);
$additions = array_map('double', $numbers);
print_r($additions);
?>

mysqli_real_escape_string', array($fof_connection, $args)

$args is an array. These

$result = mysqli_real_escape_string', ($fof_connection, $args);
$result = mysqli_real_escape_string', array($fof_connection, $args);

do not work since mysqli_real_escape_string can not handle an array


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
php_build_in_functions.txt · Last modified: 13-12-2019 01:23 by 83.162.184.100