<?php

bassAckwards("www.google.com.");
function bassAckwards($input)
{
	$y=strlen($input);
	if($input[$y-1]=="."){
		$input=substr_replace($input,"",-1);
	}
	$x=explode(".",$input);
	$i=count($x);
	$x=implode(,$x[$i-1]);	
echo $x;
		//return $x;*/
}
?>