session_start() ;
require ( "cfg.php") ;
require ( "$phpdir/common.php" ) ;
require ( "$phpdir/mysql.php" ) ;
require ( "$phpdir/slib.php" ) ;
if ($_POST['action'] == "add_feature")
{
add_feature($_SESSION['product_id'], $_REQUEST['feature_name']);
$num=1;
$index = 'feature_detail_' . $num;
while ( $_REQUEST[$index] != "Enter Feature detail")
{
add_detail($_SESSION['feature_id'], $_SESSION['product_id'], $_REQUEST[$index]);
$num++;
$index = 'feature_detail_' . $num;
}
}
?>
100% Cotton Shirt Fabrics: SH002-001
![Downsized Image [SH002-001.jpg - 226kB]](SH002-001.jpg) |