Разделение имен, разделенных запятыми, с помощью PHPPhp

Кемеровские программисты php общаются здесь
Anonymous
Разделение имен, разделенных запятыми, с помощью PHP

Сообщение Anonymous »


I have names in the form of Lastname, Firstname. In my database I have a different field for both the first and last.

I would like to use PHP to read everything before the comma as the lastname and everything after the comma as the firstname. What is the best way to accomplish this?


Источник: https://stackoverflow.com/questions/622 ... s-with-php

Вернуться в «Php»