Variable Scope: A Beginners Guide (PHP & Javascript)

/ Javascript, PHP / by Paul Robinson / 0 comments

Variable scope is something that comes in handy in most coding languages, in my experience though it is invaluble in Javascript. If you are sitting thinking, ‘but what the hell is it’, then let me explain. Variable scope is a set of rules applied to a variable telling it where & it what context it may be accessed. An easier […]

Read more

How To Create Custom WordPress Queries

/ Wordpress / by Paul Robinson / 2 Comments

Ok so except answering comments, I have been on a little bit of a hiatus, but now I am back. One thing that has been bugging me is that a few people are complaining of The Attached Image not working in WP 2.8. I can’t find any problems & I have asked a few people I know that are using […]

Read more

PHP Tip #6: str_replace Is Faster

/ PHP / by Paul Robinson / 1 Comment

This is probably a very well known tip, but for those new to PHP it’s handy. When needing to replace something try & use str_replace instead of preg_replace. Always remember that REGEX is costly & should only be used when it is really needed. If you need to do a case insensitive replace then use str_ireplace.

Read more

PHP Tip #5: header

/ PHP / by Paul Robinson / 0 comments

Another useful command that all PHP coders should know is the header() function. You can use it to send a HTTP header to the server.

Read more

Using HTML to Liven Up Your Zazzle Gallery Home Page

/ Zazzle / by Lisa Marie Robinson / 15 Comments

IMPORTANT: As of June 2013, Zazzle announced that HTML will no longer be allowed within the description area of our store home pages. You’ve just opened an account with Zazzle. You’ve created a few products, uploaded a spiffy header, added a few product lines and wrote a nice little paragraph welcoming people to your gallery… but you yearn for something […]

Read more Style jQuery Row Highlighter

/ jQuery / by Paul Robinson / 0 comments

So that website has a new feature that they have coined the highlighter, very original. It is quite impressive though. It allows you to highlight all the rows that match a certain criteria. Seeing as is a insurance comparison website it would allow you to highlight the insurers that will give you no claims discount or other such […]

Read more

PHP Tip #4: Type Casting

/ PHP / by Paul Robinson / 5 Comments

I kinda touched on Type Casting in the second PHP tip about is_numeric(). The basic idea is that you can force a variable’s value to another type. For instance, changing a string to an integer.

Read more

Adding Annotation To Cropped Thumbnails Using ImageMagick

/ PHP / by Paul Robinson / 0 comments

You’ve probably seen them before, generally done by imagehosters. Yep, that’s them. The little thumbnails with the resolution & file size written in them. Well I’m going to show you how to make them using ImageMagick & PHP. If you don’t have ImageMagick you can find out how to install it in my previous tutorial here. Just ignore the part […]

Read more

I'll keep your WordPress site up-to-date and working to its best.

Find out more