Merge branch 'release' into php8

This commit is contained in:
xiaomlove
2021-06-21 14:49:35 +08:00
+1 -1
View File
@@ -63,7 +63,7 @@ print("</select>\n");
$countries = "<option value=0>".$lang_users['select_any_country']."</option>\n"; $countries = "<option value=0>".$lang_users['select_any_country']."</option>\n";
$ct_r = sql_query("SELECT id,name FROM countries ORDER BY name") or die; $ct_r = sql_query("SELECT id,name FROM countries ORDER BY name") or die;
while ($ct_a = mysql_fetch_array($ct_r)) while ($ct_a = mysql_fetch_array($ct_r))
$countries .= "<option value=".htmlspecialchars($ct_a[id]).">".htmlspecialchars($ct_a[name])."</option>\n"; $countries .= "<option value=".htmlspecialchars($ct_a['id']).">".htmlspecialchars($ct_a['name'])."</option>\n";
print("<select name=country>".$countries."</select>"); print("<select name=country>".$countries."</select>");
print("<input type=submit value=\"".$lang_users['submit_okay']."\">\n"); print("<input type=submit value=\"".$lang_users['submit_okay']."\">\n");
print("</form>\n"); print("</form>\n");