Re: [PHP] ucwords() usage QUICKIE

2002-06-14 Thread 1LT John W. Holmes
You pass a string to the function and it returns a string with each word starting with an uppercase. $string = "hello world"; $new_string = ucwords($string); echo $new_string; // Displays 'Hello World' ---John Holmes... - Original Message - From: "Daniel Negron/KBE" <[EMAIL PROTECTED]

Re: [PHP] ucwords() usage QUICKIE

2002-06-14 Thread Julie Meloni
DNK> I am trying to figure out how to use ucwords here : DNK> if (submit) DNK> $db = mysql_connect($dbhost,$dbuname,$dbpass); DNK> mysql_select_db($dbname,$db); DNK> ucwords($sql) < Is this correct ? DNK> $sql = "INSERT INTO $prefix"; DNK> $sql .=

RE: [PHP] ucwords() usage QUICKIE

2002-06-14 Thread Lazor, Ed
Looks like it, but you're missing the semi-colon at the end of the line. > -Original Message- > From: Daniel Negron/KBE [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 14, 2002 2:06 PM > To: [EMAIL PROTECTED] > Subject: [PHP] ucwords() usage QUICKIE > > > Hi All, > > I am trying t