// Add Escape Slashes to VarChar Entries to allow O'Neill to be entered as O\'Neill $officename = addslashes($officename); $address1 = addslashes($address1); $address2 = addslashes($address2); $city = addslashes($city); $state = addslashes($state); $zip = addslashes($zip); $country = addslashes($country); $phone = addslashes($phone); $fax = addslashes($fax); $office_email = addslashes($office_email); $domain = addslashes($domain); $territory = addslashes($territory); $region = addslashes($region); $intro = addslashes($intro); $username = addslashes($username); $password = addslashes($password); _________________________________________________________________________________ // Strip Slashes to display O\'Neill as O'Neill and HTMLSpecialChars so no < or > $officename = stripslashes(htmlspecialchars($officename)); $address1 = stripslashes(htmlspecialchars($address1)); $address2 = stripslashes(htmlspecialchars($address2)); $city = stripslashes(htmlspecialchars($city)); $state = stripslashes(htmlspecialchars($state)); $zip = stripslashes(htmlspecialchars($zip)); $country = stripslashes(htmlspecialchars($country)); $phone = stripslashes(htmlspecialchars($phone)); $fax = stripslashes(htmlspecialchars($fax)); $office_email = stripslashes(htmlspecialchars($office_email)); $domain = stripslashes(htmlspecialchars($domain)); $territory = stripslashes(htmlspecialchars($territory)); $region = stripslashes(htmlspecialchars($region)); $intro = stripslashes(htmlspecialchars($intro)); $username = stripslashes(htmlspecialchars($username)); $password = stripslashes(htmlspecialchars($password)); _______________________________________________________________________________________