Whats wrong with this?


$sql = "INSERT INTO $table_name
(uid,companyUid, first_name, last_name, address, state, zip_code, country,
company, occupation, telephone, fax, email, user_name, password)
SELECT
\"\", \"uid from companyTable WHERE company= "Itsolutions"\,
\"$first_name\",\"$last_name\",\"$address\",\"$state\",\"$zip_code\",\"$coun
try\",\"$company\", \"$occupation\", \"$telephone\", \"$fax\", \"$email\",
\"$user_name\", \"$password\"
";


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to