April 16, 2010
#MySQL
MySQL Main Query Types
SELECT
SELECT * FROM tablename
INSERT
INSERT INTO tablename (col1, col2, col3,..) VALUES (val1, val2, val3,...)
UPDATE
UPDATE …
Read Article →
April 16, 2010
#MySQL
If you need to connect to a mysql database from php you can do it like this:
<?php
$DBH = 'localhost';
$DBU = 'root';
$DBPWD = …
Read Article →
April 14, 2010
#PHP
I have a question for anyone that can answer it:
I create an .htaccess file in the root of a subdomain, but if I enter either of these two lines I get …
Read Article →
April 9, 2010
#Programming
If you get an error message similar to this one when trying to run Quake 4…
Fatal Error: could not create destination file C:/Program Files (x86)/id …
Read Article →
April 9, 2010
#PHP
I was trying to import a massive csv dataset into phpMyAdmin and it kept throwing error:
Invalid field count in csv input on line 1
This is quite …
Read Article →
April 7, 2010
#Programming
This is somewhat of a debatable topic, but it has come up a lot of times without any real final clarity, so I will try and cover it all.
Lets begin by …
Read Article →
March 30, 2010
#CSS
CSS allows you to add a border to almost all html elements. This is one of many CSS techniques you can use to enhance your web pages, along with using …
Read Article →
March 30, 2010
#Javascript
What the heck is..
uncaught exception: [Exception… “Could not convert JavaScript argument arg 0 [nsIDOMHTMLDivElement.appendChild]” …
Read Article →
March 29, 2010
#Actionscript
Getting this error in ActionScript 3?
Error 1046: Type was not found or was not a compile-time constant: Event.
You need to import the Event class: …
Read Article →
March 26, 2010
#Actionscript
I needed to work out a date range according to the date 3weeks away from the current date.
After a bit of thinking, I found that it’s actually …
Read Article →
March 22, 2010
#Actionscript
I have been working on a project where I need to select a date range starting today and ending a month from now, so the user cannot select anything in …
Read Article →
March 19, 2010
#Actionscript
The hitTest method in ActionScript 2 is how you check whether the mouse (or another object) is overlapping a movie clip. It’s essential for …
Read Article →
March 17, 2010
#Google
Recently I checked my website stats and saw I had a few hits from “127.0.0.1:4664” and wondered to myself, what the heck is that? Am I …
Read Article →
March 16, 2010
#Actionscript
If you want to only show numeric characters in a textfield in Flash ActionScript 2, you can use the restrict property:
Read Article →
March 10, 2010
#ActionScript
If you use a dynamic textbox in Flash and you want to embed the British Pound symbol (£) then you will want to also embed the “Latin I” …
Read Article →
March 1, 2010
#Actionscript
If you have a movieclip that by default has the hand cursor showing on RollOver and you don’t really want this, you can disable it by doing the …
Read Article →
February 25, 2010
#Windows
Believe it or not, this one is super easy to fix!
It’s actually a temporary problem with your motherboard, all you need to do is:
Read Article →
February 24, 2010
#Actionscript
In a flash movie I usually have a frame of actionscript that controls all elements in the file to keep everything in one place.
Sometimes I have an …
Read Article →
February 22, 2010
#Linux
A quick and easy way would be to type the following in one line with single spaces in the Terminal.
This way of installing OpenGL and SDL libraries …
Read Article →
February 19, 2010
#Windows
The hosts file is located at the following address:
C:\windows\system32\drivers\etc</span>
or
%systemroot%\system32\drivers\etc</span>
But …
Read Article →
February 17, 2010
#PHP
I think this may be the fastest way to get a list of all the directories in a given folder/directory using PHP .
I needed this when building a plugin …
Read Article →
February 17, 2010
#Actionscript
You have a flash uploader and you get this error:
security error: securitySandboxError
This means that the flash is not trusted by the domain and you …
Read Article →
February 11, 2010
#ActionScript
I discovered a very annoying bug in the Flash IDE a little while ago, and it has happened to me quite a few times.
Today it happened again and so I …
Read Article →
February 8, 2010
#Google
#E-Commerce
I have used Google Checkout to receive payments in the past and have had problems with some clients not paying and blaming it on Google Checkout that …
Read Article →