RSS
 

Posts Tagged ‘quick tip’

PHP isset vs empty

02 Dec

A very common mistake when first getting in to PHP is to think that isset() and empty() can be used as each others inverse. This is VERY far from the truth and can cause major problems in an application. In this quick article I will explore the differences between isset and empty in PHP

Read the rest of this entry »

Share
 
 

Easy jQuery form validation and email validator

21 Sep

This is a very quick way to make sure people fill out all fields of a form. It is easy to bypass and is in no way a replacement for server-side form validation, but it's a quick and easy way to prevent invalid form data from being submited. All of the code below requires you to include the jQuery JavaScript library. click here for more information about jQuery
Read the rest of this entry »

Share