תנסה ככה:
PHP קוד:
$gamenumber++;
echo '</tr></table>';
$abcd= $row['name'];
$abcd = str_replace (" ", "-", $abcd);
if ($seo_on == 1)
{
$cat_url = ''.$site_url.'/cat/'.$row['id'].'/'.$abcd.'/p1.htm';
}
else
{
$cat_url = ''.$site_url.'/index.php?cat_id='.$row['id'].'';
}
echo '<a href="'.$cat_url.'"><strong>Play more '.$row['name'].' games</strong></a>';
echo "</center></div>";