製品をひとつ以上お選びください'; } if ( !is_data($_SESSION['form']['contact02']) ){ $_SESSION['form']['err']['contact02'] = true; $_SESSION['form']['err']['txt']['contact02'] = '
'; print_r($_SESSION); echo ''; //exit; //TEST //■■■■■ セッション情報取得 ■■■■■ //■$contact01 if($contactchk == 'AmiVoice SBx'){$contact01_chk01 = ' checked="checked"';} if($contactchk == 'AmiVoice Keyboard for Android'){$contact01_chk02 = ' checked="checked"';} if($contactchk == 'AmiVoice Ex7 Business'){$contact01_chk03 = ' checked="checked"';} if($contactchk == 'AmiVoice iVoX KIZUKI'){$contact01_chk04 = ' checked="checked"';} if($contactchk == 'AmiVoice SDK for iOS/Android/Windows'){$contact01_chk05 = ' checked="checked"';} if($contactchk == 'AmiVoice Cloud Platform'){$contact01_chk06 = ' checked="checked"';} if($contactchk == 'その他'){$contact01_chk07 = ' checked="checked"';} if(is_array($contact01)){ foreach($contact01 as $key => $value){ if($value == 'AmiVoice SBx'){$contact01_chk01 = ' checked="checked"';} if($value == 'AmiVoice Keyboard for Android'){$contact01_chk02 = ' checked="checked"';} if($value == 'AmiVoice Ex7 Business'){$contact01_chk03 = ' checked="checked"';} if($value == 'AmiVoice iVoX KIZUKI'){$contact01_chk04 = ' checked="checked"';} if($value == 'AmiVoice SDK for iOS/Android/Windows'){$contact01_chk05 = ' checked="checked"';} if($value == 'AmiVoice Cloud Platform'){$contact01_chk06 = ' checked="checked"';} if($value == 'その他'){$contact01_chk07 = ' checked="checked"';} } }else{ } //■$contact02 if(is_array($contact02)){ foreach($contact02 as $key => $value){ if($value == '資料請求'){$contact02_chk01 = ' checked="checked"';} if($value == '製品の価格を知りたい、見積りを依頼したい'){$contact02_chk02 = ' checked="checked"';} if($value == '導入を検討したい'){$contact02_chk03 = ' checked="checked"';} if($value == '開発を検討したい'){$contact02_chk04 = ' checked="checked"';} if($value == 'その他'){$contact02_chk05 = ' checked="checked"';} } }else{ } //■$enquet if(is_array($enquet)){ foreach($enquet as $key => $value){ if($value == '展示会・セミナー'){$enquet_chk01 = ' checked="checked"';} if($value == '取引先'){$enquet_chk02 = ' checked="checked"';} if($value == '当社ホームページ'){$enquet_chk03 = ' checked="checked"';} if($value == 'その他'){$enquet_chk04 = ' checked="checked"';} if($value == '新聞・雑誌・書籍など'){$enquet_chk05 = ' checked="checked"';} if($value == '検索エンジン'){$enquet_chk06 = ' checked="checked"';} if($value == '他社ホームページ'){$enquet_chk07 = ' checked="checked"';} } }else{ } ?>