Linux, Apache, Nginx, MySQL, Javascript and PHP
Using !important with CSS
The CSS !important declaration is something I’ve seen in CSS code before but never knew what it meant until
Install PHP IMAP on CentOS
If you are getting the "Fatal error: Call to undefined function imap_open()" error in PHP when
Loading content with jQuery AJAX – using a loading image
A couple of weeks back I looked at how to load remote content with jQuery and
Running PHP scripts as shell scripts
As well as running PHP scripts via a web server such as Apache, you can also run PHP scripts
Copy a MySQL table with phpMyAdmin
Last week I looked at how to copy a table with MySQL using some SQL
Get the first sentence with PHP
Sometimes you may need to get the first sentence from a block of content for use as e.g.
PHP script to make a backup copy of a MySQL table
Yesterday I looked at how to copy a table with MySQL using some SQL queries.
Copy a table in MySQL
Sometimes you might need to quickly and easily create a backup copy of a table in MySQL before doing
Using setTimeout() with Javascript
The Javascript setTimeout() function allows code to be executed a set time after some trigger, such as when the
Using the Zend_Registry in PHP
The Zend Framework has a component called the Zend_Registry which allows you to store data into a sort
Maximum length for MySQL TEXT field types
MySQL supports 4 TEXT field types (TINYTEXT, TEXT, MEDIUMTEXT and LONGTEXT) and this post looks at the maximum length of
How to empty Google Chrome’s cache to fix the “waiting for cache” error
This post looks at how to clear the cache in Google’s Chrome web browser, which you will need to
Using SELECT REPLACE with MySQL
I recently needed to compare the content of two columns in a MySQL database that stored the large and
Using the is_callable function in PHP
The PHP function is_callable() tests to see if a function or class method can be called, and solves
MySQL: Find records in one table that are not in another
There may be times you need to check if there are records in one table that are not in
Loading content with jQuery AJAX – selecting the element to inject
On Wednesday I looked at how to load content with jQuery via AJAX using the .
Remove “Browse” button and “Upload” tab in FCKEditor Link dialog
FCKEditor is an in browser Javascript based WYSIWYG HTML editor. It has a large number of configuration options to
Basic 3 Column Fixed Width CSS Layout
This post looks at how to create a very basic fixed width three column layout using CSS where the