October 31, 2007 at 1:39 pm
#752800
Member
Sorry I had a typo in there. I’m coding asp for school and vb script uses () instead of [] when referencing an array. It gets confusing when your going back and forth with multiple programming languages.
Change line 9 to the following and it should work.
$link = isset($_GET[‘id’]) ? $arr[$_GET[‘id’]] : ‘http://yoursite.com/sitemap’;[/CODE][CODE]$link = isset($_GET) ? $arr[$_GET] : ‘http://yoursite.com/sitemap’;[/CODE]