backend programming

PHP and Python - Quick Tips

Following are some quick tips related to PHP and Python

Read

Generating Table of Contents

Table of contents gives an overview of the article. It describes what the article contains. A quick glance at the table of contents gives a useful overview of the article. Most articles have a table of contents which contains links to the important parts of an article.

Read

Using substr_compare function to find out if a file exists in a folder

The substr_compare function is a useful function that can be used to check if a given string occurs at the end of a larger string.

Read

Displaying contents of an array in NXM html table

The following code allows displaying the contents of an array containing X number of elements in a HTML table. The HTML table contains N rows and M columns. The values of X, N and M can be configured:

Read