SQL:".$sql);
//結果セットの行数を取得する
$rows = mysql_num_rows($result);
$row = mysql_fetch_array($result);
if($row["ccheck"]=="売約済"){
print("\t\n");
}else{
print("\t\n");
}
print("\t\t\t
\n");
?>
\n");
print("\t\t\t\t \n");
print("\t\t\t\t\n");
print("\t\t\t\t\n");
print("\t\t\t\t \n");
print("\t\t\t" .$row["cname"] ." | \n");
print("\t\t\t\n");
if($row["ccheck"]=="売約済"){
print("\t\t\t\t売約済\n"); }elseif($row["ccheck"]=="要相談"){ print("\t\t\t\t要相談\n"); }else{ print("\t\t\t\t ".$row["cprice"]."\n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■年式:- \n"); }else{ print("\t\t\t\t■年式:" .$row["cmyear"] ." \n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■走行距離:- \n"); }else{ print("\t\t\t\t■走行距離:" .$row["codd"] ." \n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■車検:- \n"); }else{ print("\t\t\t\t■車検:" .$row["cshaken"] ." \n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■色:- \n"); }else{ print("\t\t\t\t■色:" .$row["ccolor"] ." \n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■変速機:- \n"); }else{ print("\t\t\t\t■変速機:" .$row["ctrns"] ." \n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■装備:- \n"); }else{ print("\t\t\t\t■装備:" .$row["cacc"] ." \n"); } if($row["ccheck"]=="売約済"){ print("\t\t\t\t■PR:-\n"); }else{ print("\t\t\t\t■PR:" .$row["cpr"] ."\n"); } print("\t\t\t | \n");
print("\t\t\t
■リンク
■お問合せ
■Created by