Re: ucwords() usage QUICKIE

From: Date: Mon, 17 Jun 2002 14:14:03 +0000
Subject: Re: ucwords() usage QUICKIE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102514@lists.php.net to get a copy of this message
You'll probably have to captalise it prior to inserting it, because if you capitalise the SQL statement all the words will become capitalised aswell. Here's a quick example of what I mean: $sql_statement = "INSERT INTO nowhere (fred, john, paul) VALUES ('smith', 'watson', 'ginger')"; $sql_statement = ucwords($sql_statement); echo $sql_statement; // Outputs: Insert Into Nowhere (Fred, John, Paul) Values ('Smith', 'Watson', 'Ginger')

« previous php.general (#102514) next »