session_start();
include "application.php";
$query = "select pdt_code,pdt_color_desc, pdt_max_width, pdt_max_length, pdt_type, pdt_uses, pdt_price_meter, pdt_big_sample, pdt_bkg_sample from product where pdt_code='".$pdt_code."'";
$result= mysql_query($query);
$num_results = mysql_num_rows($result);
$row = mysql_fetch_array($result);
// verify that he has a profile in the bdd, if not, creation
$sel_client = "select client.clt_code,clt_last_name,clt_email,clt_country
from client
where client.clt_code='$PHPSESSID'";
$res_client= mysql_query($sel_client);
$num_client = mysql_num_rows($res_client);
$r_client = mysql_fetch_array($res_client);
if ($num_client == 0)
{
$query = "insert into client(clt_code) values('$PHPSESSID')";
mysql_query($query);
$a="";
}
else if ($r_client[clt_code]==""||$r_client[clt_last_name]==""||$r_client[clt_email]==""
||$r_client[clt_country]=="")
{$a="";}
else {$a="orderForm";}
// select product to added to the order
$pdt_code = stripslashes($pdt_code);
$pdt_code = trim(strtr($pdt_code,"'"," "));
$sel_new_pdt = "select pdt_code,pdt_color_desc,pdt_price_meter,pdt_small_sample
from product
where product.pdt_code='$pdt_code'";
//echo $sel_new_pdt;
$res_new_pdt= mysql_query($sel_new_pdt);
$num_new_pdt = mysql_num_rows($res_new_pdt);
$r_new_pdt = mysql_fetch_array($res_new_pdt);
?>
S4silk.com - ProduCPS - Raw Silk

|
Product Code : CPS OO11
|
|
|
|
|
|
Custom design welcomed
maximum width: 1 metre
maximum length:
20 metres
Type: Plain Silk
Uses: clothing, curtains, cushion covers, bed covers, table
runners
Due to the hand made nature
of the silk some colours may vary from run to run.
Colours may also differ slightly from screen image tones
Copyright
© 2002 - 2003 S4Silk.com - Privacy
- Return Policy - All rights reserved
|
|