Search
 
SCRIPT & CODE EXAMPLE
 

PHP

cara membuat looping table dengan php

<form>
		<table border="1" cellspacing="0">
			<tr>
				<th>NO</th>
				<th>BUAH</th>
				<th>SAYUR</th>
			</tr>
 
		<?php  for ($no = 1, $i=10, $a=100; $i<=100, $a<=1000  ; $i+=10, $a+=100) { ?>
 
			<tr>
				<td> <?php echo $no; ?></td>
				<td><?php echo $i; ?></td>
				<td><?php echo $a; ?></td>
			</tr>
 
		<?php $no++; } ?>
 
		</table>
	</form>
Comment

PREVIOUS NEXT
Code Example
Php :: .htaccess Prevent access to php.ini 
Php :: how to set up the laravel ssh keygen 
Php :: sql update row in php 
Php :: get value mentthod get laravel 
Php :: codeigniter 3 or where in 
Php :: laravel parse markdown 
Php :: laravel auth setup 
Php :: author page url from the current post 
Php :: luhn algorithm 
Php :: eager load relationships by default in the model laravel 
Php :: json_encode alternative 
Php :: laravel blade @auth 
Php :: session() in lumen 
Php :: showing custom post type in wordpress website 
Php :: wordpress autoload composer 
Php :: yajra laravel datatables rawcolumn 
Php :: wp rest api acf fields 
Php :: string between two strings 
Php :: laravel where 2 column 
Php :: laravel notification attach file 
Php :: laravel Form::hidden 
Php :: laravel select where with total sum query to get all data with sum 
Php :: Create Mysqli Table Using Php 
Php :: laravel optional params 
Php :: laravel collection collapse 
Php :: json_encode() 
Php :: validate either one field is required in laravel 
Php :: laravel add request 
Php :: return redirect to extranal url in laravel 
Php :: validate names regex php 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =