Friday, May 22, 2009

redirect at article not working

just before the break; at the url there add

$check_query = tep_db_query("select articles_url from " . TABLE_ARTICLES_DESCRIPTION . " where articles_url = '" . tep_db_input($HTTP_GET_VARS['goto']) . "' limit 1");
if (tep_db_num_rows($check_query)) {
tep_redirect('http://' . $HTTP_GET_VARS['goto']);
}

No comments:

Increase your sales


Can You Have More Sales, Too?
Helping over 51,000 businesses like yours raise profits and build customer relationships using AWeber's opt-in email marketing software for over 10 years.
Take a Risk Free Test Drive today!