$cat = urlencode( $registro[cate] );echo "<a href=\"cat.php?ID=$cat\"><img src=\"$registro[cateimagen]\"></a>";