mySQL select multiple ids
If you need to fetch several rows by their IDs in a single query, use the IN clause instead of chaining multiple OR conditions. It’s cleaner and …
In-depth guides, insights, and best practices for modern software engineering
If you need to fetch several rows by their IDs in a single query, use the IN clause instead of chaining multiple OR conditions. It’s cleaner and …
This script works in all browsers, including Internet Explorer! 🙂
Sometimes you need to force the browser to download a file instead of displaying it …
Read Article →In ActionScript 2, event handlers like onRelease are assigned as properties on movie clips. Removing them isn’t immediately obvious if you …
I often have to show a shortened version of a news item and then a link to show the entire news article or whatever.
Here’s a way to get that …
Read Article →Need to read a file line by line in PHP? The file() function is the quickest way to do it. It reads the entire file into an array where each element …
Start writing content to your blogs from your Windows Desktop now.
No need to login to your wordpress backend to post items anymore, there is now a …
Read Article →
What the heck is that?
So you’ve just visited a website using Mozilla Firefox and this message has popped up telling you that the site looks …
Read Article →Here’s a quick reference for the most basic HEX colour values. These are the building blocks — once you understand how red, green, and blue …
Read Article →Ever find yourself typing the headers into the php mail() function over and over again?
Try using a standard function and calling it when you need to …
Read Article →I came across a very interesting article about MySQL development tools — a solid roundup of admin and management tools that were popular at the time. …
Read Article →Hello all actionscripters — you can’t use getURL anymore in ActionScript 3. It was removed in the move from AS2 to AS3.
Below is how you should …
Read Article →Anyone up for an online Flash IDE?
Take a look at this:
http://antimatter15.com/ajaxanimator/build/
Nice work!
This was Ajax Animator — an ambitious …
Read Article →The problem:
While working on a Papervision3D Flash Project I had a problem where a back button that sits above the 3d canvas and acts as a main …
I often have issues where ‘dumb browsers’ cache my published swf files and when they dynamically populate they don’t always update.
This …
Read Article →I personally really like this way of clearing an array’s elements in ActionScript 3.
Declare your array to use:
var myArray:Array = new Array(); …Ever needed to change the font size of a standard Flash ComboBox component? The default size is often too small, especially if your Flash app is …
Read Article →Ever used a <PRE> in a limited width div container? You will notice that the line gets cut off almost as if word-wrap was not enabled.
To …
Read Article →Hello all!
Today we will be talking about Barclays online payment gateway valled ePDQ.
You can take a look at what they have got to say by clicking …
I came across a programming language today that I have never heard of — Brainfuck.
http://en.wikipedia.org/wiki/Brainfuck
It’s an esoteric …
Read Article →So you have now placed a swf file into your html page and you want to be able to see through it.
Lucky for you, this is a very easy thing to do!
The …
Read Article →I just hate it how everything always wants to update… and then restart all the damn time!
First things first:
This pops up telling me it’s doing …
Read Article →A very interesting project I found this morning — Synergy lets you share a single mouse and keyboard across multiple computers over the network.
If …
Read Article →So what the heck kind of file starts with the characters “CWS>+” ?
That would be a Flash SWF file!
If you’ve ever opened a binary …
Read Article →Error: “1046: Type was not found or was not a compile-time constant: InteractiveScene3DEvent.”
I got this this morning when I opened up a …
Read Article →