PHP/Javascript Pascal Triangle Tutorial

PHP/Javascript Pascal Triangle Tutorial

PHP/Javascript Pascal Triangle Tutorial

Here is a tutorial showing some client-side basics in PHP, HTML and Javascript that can display Pascal’s Triangle. The inspiration for this came from a Yahoo Answers question here, so thanks for that.

Link to some downloadable PHP programming code … rename to pascal_triangle.php

Guess most of the work for such a tutorial is the way to organise the look of the display of the table so that the data is staggered, and it may not look like it, but the results are presented in an HTML table element using td cells with tr rows having td cells with differing colspan values.

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Tutorials and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>