Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个名为全名的列的excel文件我想将excel文件导入MySQL并将文件中的全名拆分为数据库中的名字和姓氏
尝试这个:
$names = explode(" ", $fullName); $firstName = $names[0]; // First $lastName = $names[1]; // Last