<?php $string = '123444 '; if (is_numeric($string)) { echo "Its Numeric"; } else { echo "Its NOT Numeric"; } $string = trim($string);
You have javascript disabled. You will not be able to edit any code.