Overview Since PHP5 functions had the ability to accept arrays and classes as parameter types. Now PHP 7 expands that list to bool, float, int, string. You can also set types for the return values, and allow for these values to accept a null value. Finally you can set a function as void which will prevent it from […]
In PHP it is common to have form inputs with the same name. Many times these will be generated dynamically (i.e. a WordPress Repeatable Custom Meta Field). PHP stores these values to the POST Superglobal as a multidimensional array. To begin with, run this example script here PHP Form Inputs Example.
This article follows the dev virtual site which can be viewed here. In that tutorial we created a virtual site called new site. The site we created was http meaning the packets are sent unencrypted. This means passwords and other data sent will be viewable to others on the network. A password to log into […]
In CSS mutliple styles can apply to a tag, both from inheritance and from creating multiple styles. The CSS Cascade deals with conflicting styles.
Children inherit many traits from parents such as eye color, hair color, male pattern baldness etc. HTML tags can inherit CSS properties from their ancestors as well.
CSS Selectors CSS Selectors give you the ability to select specific HTML entities to apply styling. This post will give an overview of CSS Selectors.
There are a many tutorials that explain how to set up virtual hosts for a production server on Apache. It’s not that different for a development enviornment, but there aren’t very many tutorials on how to do this.
Autocomplete in WordPress is a little different than it would be if you created everything from scratch. That said it’s not any more difficult, just different. In this tutorial we will create an application using WordPress Ajax Autocomplete. Let’s get started.