Category: PHP

You always want the most exciting and helpful posts about PHP in your inbox?

Then do it like over 100 other Programming Maniacs and subscribe to our free newsletter!

Hypertext Preprocessor or short PHP is a server-side programming language for dynamic web applications. In this category you will find a lot about it.

RegEx Validation: Cheatsheet of the most common regular expressions for validation (+ HowTo)

Regular expressions are often used to validate user input. These are repeated when validating the same input. Therefore I have created a list with the […]
Read more

Adding WordPress Admin Bar Item (incl. Icon)

Here you will learn how to add your own Items to the WordPress Admin Bar with just a few lines of code and customize them […]
Read more

WordPress: Pass PHP Variables to JavaScript

WordPress provides a simple, secure and fast way to pass arbitrary PHP variables to a JavaScript file.
Read more

How to use Ajax in WordPress: The right way (+ Example)

With Ajax you can exchange data with a server without having to reload the page. I’ll show you how to use Ajax correctly in WordPress […]
Read more

Simple PHP MySQL Database Class (+ Download)

With this PHP MySQL (MySQLi) database class you don’t have to write annoying code over and over again, but can easily use this class in […]
Read more

How to work with JSON in JavaScript and PHP

JSON is an indispensable part for web applications. Learn how to properly exchange, store and convert JSON data between JavaScript (client-side) and PHP (server-side).
Read more