Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php count avec un tableau bidimentionnel

function NombreDeFille($case)
{
    $fille = 0;
    foreach ($case as $valeur)
    {
        foreach($valeur as $valeur2)
        {
            if ($valeur2 == "fille")
                $fille++;
        }
    } 
    return $fille;
}
echo NombreDeFille($Tablepersonne);
Comment

PREVIOUS NEXT
Code Example
Php :: Rewrite .php file without .php extension with .htaccess ULTIMATE SOLUTION 
Php :: how to stop message of laravel mix 
Php :: laravel store mail driver info in database 
Php :: how to disable html coding property in php 
Php :: termii curl otp 
Php :: Type cast using int php 
Php :: How to get only content-length with CURL PHP? 
Php :: laravel Relations transform 
Php :: php count result query 
Php :: odoctrine querybuilder print sql 
Php :: automatically create html page using php and mysql 
Php :: Google Dorks Using special search string for Web Server Detection 
Php :: wpmu assign user to blog 
Php :: saleor meaning 
Php :: php foreach show only 4 
Php :: php season calculation 
Php :: Laravel efficient way to remove X records if there are duplicates 
Php :: php int to indonesian rupiah 
Php :: null php 
Php :: codeigniter base url automatic 
Php :: what does ? do in php 
Php :: laravel collection unique 
Php :: phpunit/phpunit[6.0.0, ..., 6.5.14] require php ^7.0 - your php version (8.0.0) does not satisfy that requirement. 
Php :: Attempt to read property "name" on bool 
Php :: phpunit check exception not thrown 
Java :: hello world java 
Java :: jenkins decrypt password script console 
Java :: gson java maven dependency script google json repository 
Java :: storage permission android 
Java :: javafx tableview remove clear all data 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =