$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();
}
$today = date("Ymd");
$thisday = date("Y-m-d");
$productname = $_GET['productname'];
$dbcnx = @mysql_connect('mysql.plainhost.com', 'ecosmar_ecosmart', 'ecoman1');
mysql_select_db('ecosmar_products', $dbcnx);
$result2 = @mysql_query("SELECT id,productname,description,list,retail,wholesale,dealer,distributor,cost,up_date FROM prices WHERE productname='$productname'");
if (!$result2){
die ("Error Selecting User from Data Base!
".
'Error:' . mysql_error() . '
');
}
$row2 = mysql_fetch_row($result2);
?>
Edit Prices echo $thisday;?>
|
Help
|
©2006 - Data Base Interface - Custom Built at:
|