Second Sighting Logo

Keyword Spy is Bad

Posted in SEM by Tom on the January 16th, 2008

Been hearing a lot about Keyword Spy recently, and also been getting hits from their site to some of my domains. Apparently you can use it to get a list of your competitors keywords, which of course sounds amazing. So i ran a test on one of my domains to see how accurate it is. The results are pretty poor, have a look at this image and see if you can guess what the site advertises.

One of my campaigns according to Keyword Spy

From their site - “KeywordSpy gives you the key to their success: a good ad-campaign with the right keywords.” Think you’d run a profitable campaign with results like these?

Using Stored Values With Select Elements

Posted in PHP by Tom on the January 9th, 2008

Heres how to use regular expressions to transform a plain HTML select element into one that autoselects based on a previous choice. You could use this to retrieve a value from a database and automatically select the correct option in a dropdown menu. The select element in the example below is called occupation and it is stored in an array called $user_data.

search for:

<option value=”(.*)”>.*</option>

replace with:

<option value=”$1″<?php if ($user_data['occupation'] == “$1″) { echo ‘ selected=”selected”‘; } ?>>$1</option>

Make sure to rename the fields accordingly for your situation.