0) { $a=1; $msg="Please choose another E-Mail Id"; } } else if (mysql_num_rows($p1)>0) { $a=1; $msg="Please choose another User name"; } if($a!=1){ $result=mysql_query($sql="Insert into tbl_users set mem_full_name='$user_full_name', mem_username='$user_name', mem_email='$user_email', mem_password='$user_password', mem_doj=now(), mem_address='$user_address', mem_city='$user_city', mem_state='$user_state', mem_country='$user_country', mem_is_active=1, mem_pay_status=0, mem_phone='$mem_phone', mem_zipcode='$user_zipcode'") or die("Error Occured While Creating User"); mail( "$user_email, Subject: <".$subject.">, User Name: <".$user_name.">, Password: <".$user_password.">, From: <".$admin_email.">\nContent-Type: text/html; charset=iso-8859-1"); $msg=$result?"You have been registered Successfully":"Sorry! Problem in registration! Please try again"; if($result) { header("location:success.php"); die; } } } ?>
User Registration - Step 1 of 2

Step 1: Register your profile here. (This step does not create your listing)
" /> " /> " size="30" />
User Name*    
Password*    
Name*    
Email*    
Address*    
State*    
City*    
Zip Code*    
Phone No.*   -  
 
    and Sign In for Step 2  
    (*)Sign Indicates that these fields are Required.