<?php $string = 'address 1'; $last_word = array_pop(explode(' ', $string)); echo $last_word; ?>
You have javascript disabled. You will not be able to edit any code.