Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
PHP snippets by tem tut
PHP 5 echo and print Statements
PHP
0
0
1089
PHP 5 Strings
PHP
0
0
1242
PHP Constants
PHP
1
0
1087
PHP 5 if...else...elseif Statements
PHP
1
0
1271
PHP 5 switch Statement
PHP
1
0
1372
PHP 5 while Loops
PHP
1
0
1096
PHP 5 for Loops
PHP
0
0
1059
PHP 5 Functions
PHP
0
1
1253
PHP 5 Arrays
PHP
1
0
1258
PHP 5 Sorting Arrays
PHP
0
1
1308
PHP 5 Global Variables - Superglobals
PHP
1
0
1366