Applying Background Images Using CSS

A background image can be applied to any element using the following CSS declaration: background-image: url(image name); Shorthand Shorthand background declarations are written as: background: color image repeat attachment position; For example, the following code: p { background-color: #f00; background-image: url(background.gif); background-repeat: no-repeat; background-attachment: fixed; background-position: center; } would be written in shorthand as: p […]

MySQL based transactions using PHP 5.x

I’ve been using database transactions heavily in an application I’m working on and thought it might be a good topic to write about. I started searching for tutorials on the subject and found very few that are of good quality. Hopefully this will enlighten you and provide a better understanding of the subject.