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 to figure out how to use ucwords here : > if (submit) > $db = mysql_connect($dbhost,$dbuname,$dbpass); > mysql_select_db($dbname,$db); > ucwords($sql) <<<<< Is this correct ? > $sql = "INSERT INTO $prefix"; > $sql .= "(first, last, email, company, address, > city, state, zip, > phone, fax, mobile, comments)"; > $sql .= "VALUES"; > $sql .= "('$first', '$last', '$email', '$company', > '$address', > '$city', '$state', '$zip', '$phone', '$fax', '$mobile', '$comments')"; > also can you do this @ field level ? > > > Danny > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > **************************************************************************** This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message. Thank you very much.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php