Hi all i got a url([url]http://map.geoup.com/geoup?template=CountryName
[B]document.write(‘usa’);
Note: the url is external url
I want to grab only countryname value using php and store it in variable and later insert it in to mysql db. Could an expert show me how i can store the countryname into variable.
My intention is that when a user visits my php page it writes his country name to mysql db so i want the url to be executed within my php and possibly i be print that value too. i be happy if show me how i can execute the url with in my php code.
if if use java script like this :
[B]<script language=”Javascript” src=”
it will print countryname alone for me but i do know if i can use this with in my php and some how set it up equal to
a varible.Thanks