php 帝国获取地域代码

<?
$nav='city';
$ip=getIP();
$City=getCity($ip);
$r=$empire->fetch1("select id,name from {$dbtbpre}extend_linkage where name='$City[city]' limit 1");
$cityid=$r[id];
$cityname=$r[name];
?>

posted @ 2021-06-15 15:44  奋斗小青年1  阅读(91)  评论(0)    收藏  举报