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;
}
}
?>
Bruno McKenzie: STWS033--001
|
 |
Image | 1 | 2 | 3 | 4 | 5 | |