How can i detect if if a period . is in the php var?
.
if (strpos($variable_to_search, ".") !== FALSE) { // The variable contains a period. }