function e_emailadd($email) { global $dbcon; global $First_Name, $Last_Name, $Company, $Street, $Street_2, $City, $State, $Zip, $Country, $Web_Page, $Phone, $Fax; $MM_editTable = "email"; $MM_fieldsStr = "Email|value|Last_Name|value|First_Name|value|Company|value |html|value|Phone|value|Web_Page|value|Street|value|Street_|value|City|value|State|value|Zip|value|Country|value|Fax|value"; $MM_columnsStr = "email|',none,''|lastname|',none,''|firstname|',none,''|organization|',none,''|html|none,1,0|phone|',none,''|url|',none,''|address1|',none,''|address2|',none,''|city|',none,''|state|',none,''|zip|',none,''|country|',none,''|fax|',none,''"; insert_record($MM_editTable, $MM_fieldsStr, $MM_columnsStr); $emailid = e_getid($email); return $emailid; }
function e_emailadd($email) { global $dbcon; global $FirstName, $LastName, $Organization, $Address, $Address2, $City, $State, $PostalCode, $Country, $WebPage, $Phone, $Fax; $MM_insert = 1; $MM_editTable = "email"; $MM_fieldsStr = "email|value|LastName|value|FirstName|value|Organization|value |html|value|Phone|value|WebPage|value|Address|value|Address2|value|City|value|State|value|PostalCode|value|Country|value|Fax|value"; $MM_columnsStr = "email|',none,''|lastname|',none,''|firstname|',none,''|organization|',none,''|html|none,1,0|phone|',none,''|url|',none,''|address1|',none,''|address2|',none,''|city|',none,''|state|',none,''|zip|',none,''|country|',none,''|fax|',none,''"; require "Connections/insetstuff.php"; require "Connections/dataactions.php"; $emailid = e_getid($email); return $emailid; }