Code-Samples/php/Php-lcase.php Using LCASE Function in Mysqli connect_error) { die("Connection not established: " . $connection->connect_error); } $query = "Use Hospital;"; $connection->query($query); // Using LCASE Function $query = "SELECT LCASE(patient_fname) ". "FROM Patient "; $output = $connection->query($query); if ($output->num_rows > 0) { // output data of each row while($row = $output->fetch_assoc()) { echo "Patient Firstname " . $row["LCASE(patient_fname)"]."
"; } } else { echo "0 results"; } $connection->close(); ?>