attempt at text input warnings and php output reading