/* Script Name: contact2.phtml
Script Purpose: Simple Contact Database Script Version: 1.1
Script Author: Michael J. Miller Jr. (mke@netcom.com)
*/
/* First let's set some variables. */
$hostname = "luna";
$password = "fzr400dead";
$user = "maggot";
/* This function displays the contact information in a form. It is used
for both the create and update contact options. */
mysql_connect("$hostname", "$user", "$password");
$result = mysql("services","SELECT * FROM organization WHERE uid=1");
$uid = mysql_result($result,0,"uid");
$org = mysql_result($result,0,"org");
$phone = mysql_result($result,0,"phone");
$fax = mysql_result($result,0,"fax");
$email = mysql_result($result,0,"email");
echo "Contact Form
\n";
echo "
\n";
?>