我已经安装了Python 3.5并且在运行时
pip install mysql-python
Run Code Online (Sandbox Code Playgroud)
它给了我以下错误
error: Microsoft Visual C++ 14.0 is required (Unable to find vcvarsall.bat)
Run Code Online (Sandbox Code Playgroud)
我在路径中添加了以下行
C:\Program Files\Python 3.5\Scripts\;
C:\Program Files\Python 3.5\;
C:\Windows\System32;
C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC;
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC
Run Code Online (Sandbox Code Playgroud)
我的PC上有64位win 7设置.
什么是解决此错误和正确安装模块的解决方案pip.
考虑,
<html>
<head>
<title>txt with js eff</title>
</head>
<body>
<script type = "text/javascript">
function transfer(which) {
document.getElementById("temp_name").value = which;
}
</script>
<form action="" method="post" name="frm1">
<label> In put 1 </label>
<input
type="text"
name="username"
id = "username"
onkeyup = "transfer(this.value)"><br/><br/>
<label> In put 2 </label>
<input
type="text"
name="temp_name"
id = "temp_name">
</form>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我需要使用PHP来做到这一点:
当用户将他/她的光标聚焦到下一个字段时,我需要将值从" In put 1 " 传递给" In put 2 " .我可以使用JavaScript轻松完成,但我需要使用PHP.
有解决方案吗?