Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php foreach alternative syntax

<?php foreach ($collection as $item): ?>
    <p>Do something in HTML with <?php echo $item; ?></p>
<?php endforeach; ?>
Comment

PREVIOUS NEXT
Code Example
Php :: codeigniter abort 404 
Php :: laravel db inserr 
Php :: pg_dump with user name password 
Php :: php set status code 
Php :: api response in json laravel 
Php :: laravel 5 use env variable in blade 
Php :: instal phpgd2 
Php :: PHP filter_var() Function 
Php :: wordpress get id from page title 
Php :: cache an array 
Php :: New Laravel Devcontainer Project Setup 
Php :: image upload in laravel 
Php :: laravel generate unique db token 
Php :: json_decode 
Php :: in_array php 
Php :: php ical 
Php :: laravel Class "PDO" not found 
Php :: find which php.ini is used 
Php :: php sha512 hash 
Php :: wordpress shortcode 
Php :: Delete quotes in php 
Php :: convert std to array php 
Php :: zip missing php install 
Php :: instalar php 7.4 no ubuntu 
Php :: import local js file laravel 
Php :: currency format in laravel 
Php :: laravel form 
Php :: laravel collection merge 
Php :: check array is associative laravel 
Php :: how to read from temp files php 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =