search

Home  >  Q&A  >  body text

How to get the final value of province and city in php?

How to get the final value of province and city in php? I want to implement linkage, submit the linkage value to a php file, and then insert it into another table in the database

FllllllFllllll2447 days ago1208

reply all(1)I'll reply

  • 红尘呐滚滚

    红尘呐滚滚2018-03-27 16:48:50

    建一张省市区表,根据父级ID实现多层级值关联,然后就是在js里面通过触发事件请求接口,在接口里面对表进行一系列操作,将得到的省市区数据存储到
    地址表中,下次根据唯一索引和主键就可以取了


    reply
    0
  • Cancelreply