Is there a way to convert a phone number captured in an HTML form to a string? The variable exists in the $_POST array as an integer I assume because strlen() does not return a value.
if(strlen ($_POST['dphone']) > 0) {
echo "Daytime Phone: $dphone<br><br>";
}
This worked with my name variables and address variables, but I have had no luck with the phone number.
I realize this is a very basic check, but I want to start simple and work my way up. I would appreciate any input.
Thanks,
afrankford