PHP Classes

Simple PHP Multiplication Table: Show a multiplication results table on a Web page

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 48 All time: 10,700 This week: 488Up
Version License PHP version Categories
multiplicationtable2 1.0The PHP License7HTML, Math, PHP 7


This class can show a multiplication results table on a Web page.

It can take an array of numbers as a parameter used as multiplication factors. If this parameter is missing, the class considers a range of numbers between 1 and 20.

The class can output an HTML table that displays the given factor numbers in the vertical and a range of numbers from 1 to 10 shown in the horizontal.

In the middle, the HTML table displays cells showing the multiplication results between the numbers in the vertical and the numbers in the horizontal.

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



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

$obj=new SimpleMultiplicationTable2();

/* You can print multiple table at onnce. $table = $obj->output(4,5,6,7,8); echo $table; if no argument given it will print 1, 20 table. */

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

  Files folder image Files  
File Role Description
Accessible without login Plain text file Doc. Read me
Plain text file SimpleMultiplicationTable2.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,700
This week:488Up