Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

foreach loop in php

foreach($users as $row) {

    if($row['user_id']==3){

        $userName = $row['first_name'];

    }

}
Source by techtechinfo.com #
 
PREVIOUS NEXT
Tagged: #foreach #loop #php
ADD COMMENT
Topic
Name
4+7 =