Thanks for the contribution. I found two errors though.
Code:
$title = str_replace("\"", "", $row["products_name"]);
$title = str_replace("'", "", $row["products_name"]);
The first line is good. But after that we should str_replace $title instead of $row.. so it should be:
Code:
$title = str_replace("\"", "", $row["products_name"]);
$title = str_replace("'", "", $title);
And then every other line should have $title in it. Otherwise you don't replace anything.
Secondly:
Code:
if ($SEO_URLS = "true"){
$TSV .= $URL."/".$title."-p-".$row["products_id"].".html ";
}else{
You are setting $SEO_URLS = "true" this will always be true. You should be comparing '=='
Anthony
Bookmarks