$dnum = date(Ymd)*4;
$from = $_GET['fr'];
if($from == ""){
$from = $_POST['fr'];
}
if($from != $dnum){
echo("<<<<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'];
$prod_name = $_GET['prod_name'];
$proname = $_GET['proname'];
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
$listem = @mysql_query("SELECT ID,name,address,city,area,state,zip FROM dealers WHERE ID = '$ID'");
if (!$listem){
die ("Error Selecting Manufacturer from Data Base!
".
'Error:' . mysql_error() . '
');
}
$row = mysql_fetch_array($listem);
$ID = $row['ID'];
$name = $row['name'];
$address = stripslashes($row['address']);
$city = $row['city'];
$state = $row['state'];
$zip = $row['zip'];
?>
Dealers List Administration
Delete Dealer
Delete this Dealer for ?
|
echo("Name: $name |
" .
"Address: $address |
" .
"City: $city |
" .
"State: $state |
" .
"Mail Code: $zip |
");
?>
|
Deletion Can Not Be Undone! Deletion only removes this entry from the Dealers List.
©2006 - Data Base Interface - Custom Built at:
|