PHP Classes

Simple PHP Multiplication Table Using for Loop: Display a multiplication table for a given number

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 137 All time: 9,252 This week: 488Up
Version License PHP version Categories
simplemultiplication 1.0.0The PHP License5HTML, PHP 5, Math
Description 

Author

This class can display a multiplication table for a given number.

It takes a number and outputs a HTML table that displays the results of multiplying the number by other numbers.

The table shows the results of multiplication the input by numbers that go from 1 to 10.

Innovation Award
PHP Programming Innovation award nominee
November 2019
Number 10
Multiplication tables are one of the first things that everybody learns in math at school when you are very young.

This class can display multiplication tables in a Web pages, so it can be used to help teach multiplication to young kids in the age that they are ready to learn math.

Manuel Lemos
Picture of Mr. Dharmendra Kumar
  Performance   Level  
Name: Mr. Dharmendra Kumar <contact>
Classes: 8 packages by
Country: India India
Age: ???
All time rank: 3369224 in India India
Week rank: 200 Up20 in India India Up
Innovation award
Innovation award
Nominee: 1x

Example

<?php
require_once("SimpleMultiplicationTable.php");

$obj=new SimpleMultiplicationTable();

$num=3;
$table = $obj->output($num);
echo
$table;


  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file howtouse.php Example Example script
Plain text file SimpleMultiplicationTable.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:137
This week:0
All time:9,252
This week:488Up