<?php $author = 'Jan'; $foo = explode(' ', $author); $firstName = reset($foo); $lastName = end($foo); echo $firstName . ' ' . $lastName;
You have javascript disabled. You will not be able to edit any code.