这是怎么回事,我想做一个多语言网站数组到字符串的转换错误:注意:数组到字符串的转换在 C:\wamp\www\choose language\language.php 在第 12 行
<form action="language_switcher.php" method="post">
<select name="lang">
<option value="en"<?php if( $_COOKIE["language"] == "en" ) { echo " selected"; } ?>>English</option>
<option value="fr"<?php if( $_COOKIE["language"] == "fr" ) { echo " selected"; } ?>>Français</option>
<option value="de"<?php if( $_COOKIE["language"] == "de" ) { echo " selected"; } ?>>Deutsch</option>
<option value="it"<?php if( $_COOKIE["language"] == "it" ) { echo " selected"; } ?>>Italiano</option>
</select>
<input type="submit" value="Select Language">
</form>
<p>Language: <?php if( isset( $_COOKIE['language'] ) ) { echo $_COOKIE['language']; } else { echo "<em>not set</em>"; } ?></p>