table A:
name name2
a hello1
b hello2
c hello3
c hello4
d hello5
d hello6
将数据分别保存到两张表中去
table B(id,name都是唯一的):
id name
1 a
2 b
3 c
4 d
table C:
name2 id
hello1 1
hello2 2
hello3 3
hello4 3
hello5 4
hello6 4
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证高级PHP讲师