You did not provide a password.";
if ($shopper_vpwd == "")
$err_str .= "
You did not provide a confirmation password.";
if ($shopper_pwd != $shopper_vpwd)
$err_str .= "
Your password and password confirmation entries did not match.";
if ($shopper_id == "")
$err_str .= "
You did not provide an user name.";
// check for duplicate user.
$query_dup = "SELECT shopper_id FROM shopper WHERE shopper_id !='' and shopper_id='".$shopper_id."'";
$result_dup = dbQuery($query_dup);
dbSqlError($result_dup);
if ($row=dbResults($result_dup))
{
$err_str .= "
This account already exsist. Please choose another user name.";
}
if ($shad_fname == "")
$err_str .= "
You did not provide a first name.";
if ($shad_lname == "")
$err_str .= "
You did not provide a last name.";
if (!$shad_company_type)
$err_str .= "
You did not provide a company type.";
if ($comp_name == "")
$err_str .= "
You did not provide a billing company name.";
if ($comp_title == "")
$err_str .= "
You did not provide a billing title.";
if ($comp_street1 == "")
$err_str .= "
You did not provide a billing address.";
if ($comp_city == "")
$err_str .= "
You did not provide a billing city.";
if ($comp_state == "")
$err_str .= "
You did not provide a billing state.";
if ($comp_zipc == "")
$err_str .= "
You did not provide a billing zip code.";
if ($comp_wphone == "")
$err_str .= "
You did not provide a billing phone number.";
if ($comp_wphone)
{
$comp_wphone = CheckPhone($comp_wphone);
if (!$comp_wphone)
{
$err_str .= "
You did not provide a correct billing phone number.";
}
}
if ($comp_wfax)
{
$comp_wfax = CheckPhone($comp_wfax);
if (!$comp_wfax)
{
$err_str .= "
You did not provide a correct billing fax number.";
}
}
if(!ereg("@", $shad_email))
$err_str .= "