<<<<Restricted Area>>>>" . "
Sorry, you must Log In to view this Page

"); exit(); } $usrn = $_GET['usrn']; if($usrn == ""){ $usrn = $_POST['usrn']; } if($usrn == ""){ echo("

<<<<Restricted Area>>>>" . "
Problem with your username. Please Log In again.

"); exit(); } $ID = $_GET['ID']; $repusrn = $_GET['repusrn']; $today = date("F j, Y"); $dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1'); mysql_select_db('ecosmar_website', $dbcnx); if($repusrn != 'none'){ $ok = @mysql_query("SELECT first_name,last_name FROM psw WHERE usrn='$repusrn'"); if (!$ok) { echo 'Could not retrieve Representative Name: ' . mysql_error(); } $rowa = mysql_fetch_array($ok); $repname1 = $rowa[0]; $repname2 = $rowa[1]; }else{ $repname1 = '-'; $repname2 = 'None'; } $ok2 = @mysql_query("SELECT first_name,last_name,usrn FROM psw ORDER BY last_name"); if (!$ok2) { echo 'Could not retrieve Representative Name: ' . mysql_error(); } while($rowb = mysql_fetch_array($ok2)){ $repname1_array[] = $rowb[0]; $repname2_array[] = $rowb[1]; $repusrn_array[] = $rowb[2]; } ?>
Contacts Eco-$mart, Inc.  On-line Administration
Re-Assign Contact belonging to  ? ~ ~
Error retrieving data from data base.
' . 'Error: '. mysql_error(). '

'); } $rowb = mysql_fetch_array($listem); $ID = $rowb['ID']; $first_Name = $rowb['first_Name']; $Name = $rowb['Name']; $Company = $rowb['Company']; $Phone = $rowb['Phone']; $email = $rowb['email']; $dtnum = $rowb['dtnum']; $oldusrn = $rowb['usrn']; $oldusremail = $rowb['usremail']; echo(""); ?>
Name Company Phone Email
$first_Name $Name$Company$Phone$email
Re-Assign Contact to:
   
 Your Contacts   All Contacts   Return to Your Page 
Eco-$mart Products
©2007 - Data Base Interface - Custom Built at:  kwgrubbs.com