【发布时间】:2022-01-02 02:46:54
【问题描述】:
我使用 implode '/' 但在这种情况下,
我想要,最后两列iid & branch_id like ==>>>> iid."_".branch_id 我的意思是最后两列内爆将是'_'下划线而不是'/'斜线,但对于前4列'将是/,仅对于最后两列,它将是下划线。请帮助我找到正确的解决方案。谢谢
echo "Creating Sitemap\n";
$switzerland= new Sitemap($switzerlandcodes_sitefile,["name","canton","city","iid","branch_id"],"UNKNOWN", $homeUrl.SWITZERLANDPATH.'/', SWITZERLANDTABLE);
$switzerland->createSitemap();
$files=array_merge($files,$switzerland->files);
【问题讨论】:
标签: php mysql arrays sitemap array-merge