<?
// Duh
$MYSQL_USERNAME = 'root';
$MYSQL_PASSWORD = '';
$USERNAME = $MYSQL_USERNAME;
$PASSWORD = $MYSQL_PASSWORD;
// Database and Host
$DB = 'miester';
$HOST = 'localhost';
$TRUE = 1;
$FALSE = 0;
$NOTIFY = 0; // Set to 1 to receive emails when the DB fails
function stripslashes_array($array)
{
if(is_array($array))
{
while(list($key,$val) = each($array))
{
$ret[$key] = stripslashes($val);
}
return $ret;
}
else
{
return $array;
}
}
$tables[] = array
(
table_name => 'news_information',
table_key => 'newsID',
key_def => 'int(11) unsigned not null',
fields => array('newsTitle','newsText')
);
$tables[] = array
(
table_name => 'link_information',
table_key => 'linkID',
key_def => 'int(11) unsigned not null',
fields => array('linkTitle','linkInfo')
);
$tables[] = array
(
table_name => 'message_threads',
table_key => 'threadID',
key_def => 'int(11) unsigned not null',
fields => array('threadSubject','threadBody')
);
$tables[] = array
(
table_name => 'message_replies',
table_key => 'replyID',
key_def => 'int(11) unsigned not null',
fields => array('replySubject','replyBody')
);
$tables[] = array
(
table_name => 'news_feeds',
table_key => 'id',
key_def => 'int(11) unsigned not null',
fields => array('articleTitle','articleText')
);
?>
|