PHP Classes

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

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

Author

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
Innovation award
Innovation award
Nominee: 1x

Documentation

SimpleMultiplicationTable2

<?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 (2)  
File Role Description
Accessible without login Plain text file README.md Doc. Read me
Plain text file SimpleMultiplicationTable2.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:48
This week:0
All time:10,755
This week:488Up