history.go(-1)
history.back()The PHP way of to add ... after number of characters
$out = strlen($in) > 50 ? substr($in,0,50)."..." : $in;CSS way (not tested)
.ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }placeholder text in input field