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

Reply via email to