Location: PHPKode > projects > Mozart > Mozart-0.0.4/getemailxcont.inc
<?
// called from: included from all programs which need xcont_id from emailxref
// description: pulls xcont_id from emailxref by xemail_id
//

$ContIDSQL = "SELECT xcont_id FROM emailxref WHERE xemail_id = '$emailno'";
$ContID    = mysql_query($ContIDSQL);
$contid    = mysql_fetch_array($ContID);
?>
Return current item: Mozart