HS Banner
HS Codebank Articles
Page 1 of 2

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 More8

HTML Datetime Input Box 05/15/2022

Description:

Here's some code to set the default datetime for an input box with its type set to datetime-local.

Author: Admin
Language: PHP
Tags: input datetime-local php html
Read More7

PHP File Upload 03/11/2022

Description:

Here's some sample code to upload a file using PHP.

Author: Guitarman
Language: PHP
Tags: php uplaod file
Read More58

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
Read More92

PHP min() and max() Functions 09/05/2021

Description:

The min() and max() functions can be used to find the lowest or highest value in a list of arguments:

Author: Admin
Language: PHP
Tags:
Read More62

Send/Export DevExpress Reports to PDF 08/11/2021

Description:

How to dynamically send a DevExpress report via e-mail as a PDF

Author: Admin
Language: C#
Tags:
Read More113

Execute JavaScript using onclick event 06/27/2021

Description:

Execute a JavaScript when a button is clicked.

Author: Guitarman
Language: JavaScript
Tags:
Read More80

Escaping from HTML 05/16/2021

Description:

Escaping from HTML in PHP

Author: Guitarman
Language: PHP
Tags:
Read More97

Show RSS News Feeds 05/01/2021

Description:

Here's some code I've used in the past to show RSS news feed on PHP websites.

Author: Admin
Language: PHP
Tags:
Read More87

Sitemaps XML format 04/23/2021

Description:

The Sitemap protocol format consists of XML tags. All data values in a Sitemap must be entity-escaped. The file itself must be UTF-8 encoded.

Author: Guitarman
Language: HTML, XML
Tags:
Read More33

Submit Your Code

If you would like to share your code on HS Codebank you can submit it using the contact page, email, or by registering and clicking the submit article button.
Register Contact Us

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