i am adding ip2country to my site, It works but i have problem in profile.php
if i do not use close(); then i get all over the site No database selectedNo databaseNo database selectedNo database etc etc
ofcourse only from that script down
if i do close(); i do not get that errors arround but ofcourse it closes mysql connection so also i do not get any forward data.
What would be the best solution for this matter?
code added into profile.php:
which works, I get country name of user displayed.
Database is different its not php fusion database, because i do not want to have it in same database.
source code: http://phpweby.co...ip2country
p.s. i have changed db connect and replaced all over the file with additional #2 so it wouldnt beat with config.php same variables