It will also report an error after submitting it, which is strange.
路人
路人 2019-01-31 23:53:12
0
2
1460

<?php

//Print out the corresponding language description based on the language name entered by the user

header('Content-type:text/html;Charset=utf-8 ');

echo <<<LANG

<from action='' method='post'>

; <datalist id ='lang '>

                                                                                                                                                                                              <option value="html"> : : & Lt;/label & gt;

# & lt; input Type = "Text" name = "LANG" ID = "name" list = "lang" & gt;

& lt; " value="Submit">

</from>

LANG;

echo $_POST['lang'];

// Notice: Undefined index: lang in C:\phpStudy\PHPTutorial\WWW\PHPEDU\switch.php on line 17

?>

路人
路人

reply all(1)
路人

Embarrassing from form tag is wrong

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template