<?
$part1 = "INSERT INTO formData (formName, formID, controlType, caption, parentID, optionDesc, optionCost, orderNum, active, widgetSized, captcha, success_msg, required, to_email, from_email, header, footer, text_rows) VALUES ";

$query = $part1."('', '".$editform."', 'text', 'First Name', NULL, NULL, NULL, 1, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query); echo mysql_error();
$query = $part1."('', '".$editform."', 'text', 'Last Name', NULL, NULL, NULL, 3, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Middle Name', NULL, NULL, NULL, 2, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Email', NULL, NULL, NULL, 4, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'City', NULL, NULL, NULL, 5, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'State', NULL, NULL, NULL, 6, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Zip', NULL, NULL, NULL, 7, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Phone', NULL, NULL, NULL, 8, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Do you have transportation', NULL, NULL, NULL, 12, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Currently employed', NULL, NULL, NULL, 13, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Are you 18 or older', NULL, NULL, NULL, 11, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'datepicker', 'Date you can start', NULL, NULL, NULL, 14, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'Desired position', NULL, NULL, NULL, 15, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Cook', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Driver', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Other', '$inserted', NULL, NULL, 4, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);;
$query = $part1."('', '".$editform."', 'text', 'Desired pay rate/salary', NULL, NULL, NULL, 16, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'textarea', 'Hours/days available', NULL, NULL, NULL, 17, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Desired hours per week', NULL, NULL, NULL, 18, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Make selection', NULL, NULL, NULL, 20, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Convicted of crime', NULL, NULL, NULL, 19, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Have you been convicted of a crime or had a diversion in the last 7 years:', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'textarea', 'If yes, nature of offense', NULL, NULL, NULL, 21, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Have you worked for us before', NULL, NULL, NULL, 22, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'textarea', 'if yes, list dates and reason', NULL, NULL, NULL, 23, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'h3', 'EDUCATION', NULL, NULL, NULL, 24, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'EDUCATION', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'High School and City', NULL, NULL, NULL, 25, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Grade Completed', NULL, NULL, NULL, 26, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Graduation Date', NULL, NULL, NULL, 27, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'College Name and City', NULL, NULL, NULL, 28, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'School Achievements', NULL, NULL, NULL, 29, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'textarea', 'List activities or hobbies', NULL, NULL, NULL, 30, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'h3', 'ADDITIONAL INFO', NULL, NULL, NULL, 31, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'ADDITIONAL INFO', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'Moving violations in last 3 yr', NULL, NULL, NULL, 32, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'textarea', 'If yes, please list them', NULL, NULL, NULL, 33, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'Leaving the scene of accident', NULL, NULL, NULL, 35, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'Illegal speeding contest', NULL, NULL, NULL, 36, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'Reckless driving', NULL, NULL, NULL, 37, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'Hit and run', NULL, NULL, NULL, 38, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'dropdown', 'DWI or DUI', NULL, NULL, NULL, 39, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Make Selection', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 3, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Have you been convicted of ', NULL, NULL, NULL, 34, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'In the last 5 years, have you been convicted of:', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'If you answered', NULL, NULL, NULL, 40, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'If you answered yes to any violation(s), please explain here', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'textarea', 'Explanation', NULL, NULL, NULL, 41, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'h3', 'Employment History', NULL, NULL, NULL, 42, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'EMPLOYMENT HISTORY', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Starting wage', NULL, NULL, NULL, 46, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Ending wage', NULL, NULL, NULL, 47, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Start date', NULL, NULL, NULL, 48, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'End date', NULL, NULL, NULL, 49, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reason for leaving', NULL, NULL, NULL, 50, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Type of business', NULL, NULL, NULL, 51, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Position held', NULL, NULL, NULL, 52, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Eligible for rehire', NULL, NULL, NULL, 53, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Supervisior name', NULL, NULL, NULL, 54, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Employer phone number', NULL, NULL, NULL, 55, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'May we contact', NULL, NULL, NULL, 56, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Employer name', NULL, NULL, NULL, 45, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Most recent employer', NULL, NULL, NULL, 44, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', '<strong>Most recent employer</strong>.', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Previous employer', NULL, NULL, NULL, 57, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', '<strong>Previous employer</strong>', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Employer name (2)', NULL, NULL, NULL, 58, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Starting wage (2)', NULL, NULL, NULL, 59, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Ending wage (2)', NULL, NULL, NULL, 60, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Starting date (2)', NULL, NULL, NULL, 61, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Ending date (2)', NULL, NULL, NULL, 62, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reason for leaving (2)', NULL, NULL, NULL, 63, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Type of business (2)', NULL, NULL, NULL, 64, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Position held (2)', NULL, NULL, NULL, 65, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'Eligible for rehire (2)', NULL, NULL, NULL, 66, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Supervisor name (2)', NULL, NULL, NULL, 67, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'radio', 'May we contact (2)', NULL, NULL, NULL, 68, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Yes', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', '', 'No', '$inserted', NULL, NULL, 2, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'h3', 'References', NULL, NULL, NULL, 69, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'REFERENCES', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'List three ', NULL, NULL, NULL, 70, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'List three personal or professional references that we may contact:', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Reference #1', NULL, NULL, NULL, 71, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', '<strong>Reference #1</strong>', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Name', NULL, NULL, NULL, 72, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Relationship to you', NULL, NULL, NULL, 73, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Number of years known', NULL, NULL, NULL, 74, 1, 1, 0, '', 1, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reference phone', NULL, NULL, NULL, 75, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reference email', NULL, NULL, NULL, 76, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Reference #2', NULL, NULL, NULL, 77, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', '<strong>Reference #2</strong>', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Name (2)', NULL, NULL, NULL, 78, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Relationship to you (2)', NULL, NULL, NULL, 79, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Number of years known (2)', NULL, NULL, NULL, 80, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reference phone (2)', NULL, NULL, NULL, 81, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reference email (2)', NULL, NULL, NULL, 82, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Reference #3', NULL, NULL, NULL, 83, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', '<strong>Reference #3</strong>', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Name (3)', NULL, NULL, NULL, 84, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Relationship to you (3)', NULL, NULL, NULL, 85, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Number of years known (3)', NULL, NULL, NULL, 86, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reference phone (3)', NULL, NULL, NULL, 87, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'text', 'Reference email (3)', NULL, NULL, NULL, 88, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$query = $part1."('', '".$editform."', 'p', 'Please make sure', NULL, NULL, NULL, 89, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);
$inserted = mysql_insert_id();
$query = $part1."('', '".$editform."', '', 'Please make sure you answered all the required (*) questions before you submit.', '$inserted', NULL, NULL, 1, 1, 1, 0, '', 0, '', '', '', '', 3)"; mysql_query($query);

?>