<?php
$foo = 'hello world!';
$foo = ucwords($foo); // Hello World!
$bar = 'HELLO WORLD!';
$bar = ucwords($bar); // HELLO WORLD!
$bar = ucwords(strtolower($bar)); // Hello World!
?>
获取mysql一个表的所有字段
select COLUMN_NAME from information_schema.COLUMNS where table_name = '表名';