Linux, Apache, Nginx, MySQL, Javascript and PHP

Applications HTML And CSS

How to specify custom user styles in Firefox

It is possible to specify custom user styles in Firefox. These override the default browser styles, and are in

PHP

How to escape variables with PHP PEAR DB

When using the PHP PEAR DB database abstraction library it is important to escape variables just as it is

Javascript

Iterate through an associative array the jQuery way

A few months ago I posted how to loop through key value pairs from an associative

Javascript

Specify multiple selectors with jQuery

Today’s jQuery post is a quick tip for writing more concise code, which is to specify multiple selectors using

PHP

Get the value of a PHP constant dynamically

It is possible to get the value of a PHP constant dynamically using the constant() function. It takes a

MySql

Convert a UNIX timestamp to a datetime with MySQL

Dates and times can be stored as an integer value as a UNIX timestamp. This isn’t a particularly human

PHP

Extract Google Analytics report attachments with PHP

10 days ago I looked at how to send Google Analytics reports by

HTML And CSS Javascript

Make an entire table row clickable with jQuery

If an HTML table row contains only one <a> link it can be useful to make the

PHP

Create an array containing a range of numbers or letters with PHP

Here’s another PHP function I discovered the other day which you may find useful. It’s called "range"

HTML And CSS

“Clearing” floats with overflow: auto

It is so simple to clear floating HTML elements with overflow:auto but this doesn’t seem to be common

Javascript

jQuery’s toggleClass function

While looking up something else in the jQuery documentation just now I discovered a useful function "toggleClass"

MySql

MySQL: Using IF in a WHERE clause

I recently needed to use an IF statment in a WHERE clause with MySQL. This isn’t the most ideal

Applications

Remove a saved password with Google Chrome

If you have saved a password for a website in Google’s Chrome you can easily enough remove that password (

Get Apache to parse .html files as PHP
Apache PHP

Get Apache to parse .html files as PHP

When PHP is installed in Apache files with the .php extension are interpreted as PHP scripts. It is possible

Javascript

Get the number of days in a month with Javascript

This post shows how to get the number of days in a month using Javascript by passing the month

Javascript

jQuery: Changing the default text value on focus, and showing plain text in a password field Part 1

Last year I posted a couple of jQuery articles about how to change the default text

PHP

Change the email body character set with PEAR Mail_Mime

The PHP PEAR Mail Mime library makes it easy to create multi part emails with attachments and alternate plain

HTML And CSS

CSS :first-child and :last-child selectors

The CSS selectors :first-child and :last-child are used to apply styling to the first and last child elements of

1 19 20 21 22 23 50