The UNION command can be used in mySQL when you need to take the results of multiple queries and combine them together. Select and Union
Archive for August, 2014
A common question I see asked by web newbies is what screen resolution that they should design their web pages for. You can tell that they are newbies because anyone with any experience of the web knows that screen resolution is irrelevant and that it is the area in the browser that the page displays […]
Windows NT/2000/XP/Vista/7 allows you to schedule programs so that provided that the computer is actually on at the time you can have it run particular programs so that the tasks that those programs perform are handled at the time that you want them to be processed. For resource intensive housekeeping tasks having them performed in […]
These two PHP functions are very similar in what they do. They are also ones that many PHP newbies misuse by running them earlier in their processing than is appropriate. These functions are ones you want to run last when creating HTML. htmlentities and htmlspecialchars
PHP now has a filtering option as a part of the language. Two of the things that the filter can do is to validate common data types or alternatively to sanitise the data. Sanitising data allows you to strip out totally invalid characters from a field without validating it. Sanitising Data
With HTML 4 and XHTML 1.0 validating your (X)HTML is relatively simple as you can use the SGML doctype to identify what version of the standard to validate against. With (X)HTML 5 it will not be so easy to do this as the new versions do not have an SGML doctype.
This PHP script allows you to upload all of your images to your web site without any visible watermarks and have the images display on the site with a visible watermark in each image. The one disadvantage of using this particular version of the script is that it has to run each time that the […]