";
print "Error Code $errNO : $errMSG";
exit;
}
$mall_info=mysql_fetch_array($mall_info_db);
*/
mall_info_read();
?>
location.replace('./c_form.html');";
}
if($step=="step2"){
#------- main categori select
$query="select * from mc order by id";
$mc_db=mysql_query($query);
if (!$mc_db){
$errNO = mysql_errno ($db_conn);
$errMSG = mysql_error ($db_conn);
print "DB Server Connect error
";
print "Error Code $errNO : $errMSG mc_db";
exit;
}
echo"";
$mc_array_num=0;
while($mc=mysql_fetch_array($mc_db)){
$query="select * from sc where mc='$mc[categori]' order by id";
$sc_db=mysql_query($query);
if (!$sc_db){
$errNO = mysql_errno ($db_conn);
$errMSG = mysql_error ($db_conn);
print "DB Server Connect error
";
print "Error Code $errNO : $errMSG sc_db";
exit;
}
$mc_categori[]=$mc[categori];
$sc_array_num=0;
echo"";
while($sc=mysql_fetch_array($sc_db)){
$sc_categori[]=$sc[categori];
echo"";
#print "| $mc_array_num,$sc_array_num = $sc[categori]|";
$sc_array_num=$sc_array_num+1;
}#sc_while
$sc_categori["$mc[categori]"]=$sc_categori;
echo"";
$mc_array_num=$mc_array_num+1;
#print $mc_categori["$mc[categori]_sc"][1];
#print"
";
}#mc_while
}#if_top
#------- Ãʱâ Cell »ö»ó
$cellcolor="$mall_info[cell_color_d]";
?>
|