Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

for loop in php

for($i = 0;$i < count($users);$i++) {

    if($users[$i]['user_id']==3){

        $userName = $users[$i]['first_name'];

    }

}
Source by techtechinfo.com #
 
PREVIOUS NEXT
Tagged: #loop #php
ADD COMMENT
Topic
Name
8+9 =