PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 137 All time: 9,245 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: 3366223 in India India
Week rank: 321 Up22 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  
File Role Description
Accessible without login Plain text file howtouse.php Example Example script
Plain text file SimpleMultiplicationTable.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:137
This week:0
All time:9,245
This week:488Up