There are many ways to do this.Here is probably the simplest method:
$data = "One too many letterss"; $newdata = substr($data,0,-1); // now 'one too many letters'
I have php script form which I used to input Members Details of my system into the MySQL database. My requirement is to display the last member's details in a input box.