$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'];
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
$listem = @mysql_query("SELECT ID,prod_name,co_name,co_rep,email,phone FROM mfg WHERE ID = '$ID'");
if (!$listem){
die ("Error Selecting Manufacturer from Data Base!
".
'Error:' . mysql_error() . '
');
}
$row = mysql_fetch_array($listem);
$ID = $row['ID'];
$prod_name = stripslashes($row['prod_name']);
$co_name = stripslashes($row['co_name']);
$co_rep = stripslashes($row['co_rep']);
$email = $row['email'];
$phone = $row['phone'];
?>
Manufacturers List Administration
Delete Manufacturer
Delete this Manufacturer? |
|
$ID = $row['ID'];
$prod_name = stripslashes($row['prod_name']);
$co_name = stripslashes($row['co_name']);
$co_rep = stripslashes($row['co_rep']);
$email = $row['email'];
$phone = $row['phone'];
echo("Product Name: $prod_name |
" .
"Company Name: $co_name |
" .
"Contact Name: $co_rep |
" .
"Email: $email |
" .
"Phone: $phone |
");
?>
Deletion Can Not Be Undone! Click Delete below to totally erase this entry from the data base.
|
©2006 - Data Base Interface - Custom Built at:
|