Ah, I thought you were talking about the apostrophes and not the slashes.
The slashes are defininately not in the database. I have no clue what is causing the slashes to appear.
The url is called using this:
<a class="entry-thumbnails-link" href="<?php echo $url1.'Themes'.$url2.urlencode($rowThemes['Theme']); ?>">
Where:
$relative = 'http://www.domain.com/wp-content/';
$url1= $relative . 'themes/itemspec.php?type=';
$url2='&item=';
with $rowThemes['Theme'] containing the Theme name (in this case: Children's Hosiptal).
The url results in this:
http://localhost/wp-content/themes/itemspec.php?type=Themes&item=Children%27s%20Hospital
the item is then called using this:
$item = stripslashes(urldecode($_GET['item']));
Obviously, I would prefer it if I did not have to use stripslashes.