Just popping in
Posted on: 2004/2/24 4:35
I found the problem, which was a second include of mainfile.php, used in the Amazon results template. Outcommented that line and now it is working.
For me that leaves the question about the possibility of using MySQL queries in the hack. If not, then I think the best alternative would be to change the module so that it uses the location name initially and then get the location ID from that name.
In the meantime I was thinking about the possibility of calling a query in the db in order to convert links like: news.php?locationid=75 into china-news.html by using a table with locations. And the other way around, the china-news.html page should be translated back to news.php?locationid=75.