HS Banner
HS Codebank Articles
Page 1 of 2

PHP Shuffle 09/11/2022

Description:

Randomizes the order of the elements in an array.

Author: Admin
Language: PHP
Tags: php shuffle array
Read More503

Populate HTML Table on Page Load. 06/17/2022

Description:

Here's a simple way to populate an HTML table on page load using PHP.

Author: Admin
Language: PHP
Tags: html php table foreach
Read More482

SQL Query Examples 10/31/2021

Description:

Here's a short example of SQL Select, Insert, Update, and Delete Queries.

Author: Admin
Language: SQL
Tags: sql
Read More338



Example of .htaccess for PHP 10/06/2021

Description:

A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of website-access issues, such as URL redirection, URL shortening, access control (for different web pages and files), and more. The 'dot' (period or full stop) before the file name makes it a hidden file in Unix-based environments.

Author: Admin
Language: HTTP
Tags: html .htaccess php
Read More1378

PHPMailer 09/19/2021

Description:

PHPMailer – A full-featured email creation and transfer class for PHP

Author: Admin
Language: PHP
Tags:
Read More462

MySQL TEXT Data Type 05/13/2021

Description:

In this tutorial, you will learn how to use MySQL TEXT for storing text data in the database table.

Author: Admin
Language: SQL
Tags:
Read More292

Webserver Class 04/15/2021

Description:

This is a simple http webserver class I found years ago.

Author: Guitarman
Language: C#
Tags:
Read More375



PHP Filesystem Security 04/03/2021

Description:

Anyone learning PHP should read this and the rest of the security section in the PHP manual.

Author: Admin
Language: PHP
Tags:
Read More312

SHA512 Class 03/30/2021

Description:

This is the SHA512 HASH using the System.Security.Cryptography.HashAlgorithm.

Author: Admin
Language: C#
Tags: sha512
Read More318

Evaluate Math Expression 03/29/2021

Description:

Evaluate a math expression entered in a text box.

Author: Admin
Language: Visual Basic .NET
Tags:
Read More279

Submit Your Code

If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us

List of Supported Languages
Apache Config
Bash
C
C#
C++
CoffeeScript
CSS
Diff
GO
HTML, XML
HTTP
Java
JavaScript
JSON
Kotlin
Less
Lua
Makefile
Markdown
Nginx Config
NSIS
Objective-C
Perl
PHP
Plain Text
PowerShell
Properties
Python
Python REPL
R
Ruby
Rust
SCSS
Shell Session
SQL
Swift
TOML, also INI
TypeScript
VB Script
Visual Basic .NET
YAML
Request New Language