Ok I ran the script again, and it still doesn't work so I looked in the PHP Error Log file and this is what I'm getting:
"[17-Dec-2007 07:01:00] WordPress database error: [Table 'wordpress.wp_1_terms' doesn't exist]
SELECT t.*, tt.*, tr.object_id FROM wp_1_terms AS t INNER JOIN wp_1_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_1_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag') AND tr.object_id IN (7, 6, 5, 4, 3) ORDER BY t.name ASC
[17-Dec-2007 07:01:06] WordPress database error: [Table 'wordpress.wp_32_terms' doesn't exist]
SELECT t.*, tt.*, tr.object_id FROM wp_32_terms AS t INNER JOIN wp_32_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_32_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category', 'post_tag') AND tr.object_id IN (23, 22, 15, 12, 10, 8, 7, 5, 3) ORDER BY t.name ASC
[17-Dec-2007 07:01:06] WordPress database error: [Table 'wordpress.wp_32_terms' doesn't exist]
SELECT t.*, tt.* FROM wp_32_terms AS t INNER JOIN wp_32_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_32_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (23) ORDER BY t.name ASC
[17-Dec-2007 07:01:06] WordPress database error: [Table 'wordpress.wp_32_terms' doesn't exist]
SELECT t.*, tt.* FROM wp_32_terms AS t INNER JOIN wp_32_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_32_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (22) ORDER BY t.name ASC
[17-Dec-2007 07:01:06] WordPress database error: [Table 'wordpress.wp_32_terms' doesn't exist]
SELECT t.*, tt.* FROM wp_32_terms AS t INNER JOIN wp_32_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_32_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (15) ORDER BY t.name ASC
[17-Dec-2007 07:01:06] WordPress database error: [Table 'wordpress.wp_32_terms' doesn't exist]
SELECT t.*, tt.* FROM wp_32_terms AS t INNER JOIN wp_32_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_32_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (12) ORDER BY t.name ASC
[17-Dec-2007 07:01:06] WordPress database error: [Table 'wordpress.wp_32_terms' doesn't exist]
SELECT t.*, tt.* FROM wp_32_terms AS t INNER JOIN wp_32_term_taxonomy AS tt ON tt.term_id = t.term_id INNER JOIN wp_32_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ('category') AND tr.object_id IN (10) ORDER BY t.name ASC"