Esempio n. 1
0
$n = $obj->database($fname, $lname, $uid, $pwd1, $addr, $country, $state, $city, $mno, $tno, $dob, $gen, $mail, $occup, $area, $pin);
$mid = '';
$m_id = '';
if (isset($_POST['cat'])) {
    $mid = $_POST['cat'];
}
if (isset($_GET['cat'])) {
    $m_id = $_GET['cat'];
}
$mno = '';
if (isset($_GET['mno'])) {
    $mno = $_GET['mno'];
}
$price = $obj->getprice($mno);
$count = $obj->getcount();
$qnty = $obj->getquantity($mno);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>E- Shop</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="js/script.js">
</script>
<style type="text/css">
<!--
.style8 {
	font-size: 14px;
	color: #009900;