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 Max Mustermann
PHP | Media Query for Mobile Devices
PHP
0
1
1283
default.php
PHP
0
0
2705
connect.inc.php
PHP
0
0
1300
PDO Array Komma getrennt // Output comma separated array from PDO table
PHP
0
1
1395
YOUTUBE_ID
PHP
0
1
1195
Soundcloud JSON from URL
PHP
0
7
1715
Function addhttp: Add HTTP to Hyperlink if not exists
PHP
0
9
1042
URL Rewrite Match Replace Tail PHP
PHP
0
8
1800
Fix Joomla 3x Logout
PHP
0
8
1769
Inverse HEX Value with PHP
PHP
0
9
1672
Cut string after X char and add ... points
PHP
0
1
1430
Joomla get date from article and format
PHP
0
2
2178
Get IP Address
PHP
2
12
1661
5 PHP short If / Else (PHP 7.x: kurze If / Else - Abfrage)
PHP
0
8
2232
Get Vimeo ID from URL / API
PHP
0
2
2855
Vimeo or YouTube ID ? + Responsive Video Wrapper for IFRAME
PHP
0
1
1544
Facebook API: Fetch events from Page as decoded JSON (Object)
PHP
1
3
2767
PHP Switch: example opening times
PHP
0
1
1011
Joomla Cloak Mailto Link
PHP
0
2
1612
Unzip PHP
PHP
0
0
977