<html>
<head>
- Jun 03 Fri 2016 15:21
JAVA2016.6.3
- May 20 Fri 2016 15:51
JAVA2016.5.20
<html>
<head>
- May 13 Fri 2016 16:29
JAVA2016.5.13
<html>
<head>
- May 06 Fri 2016 16:05
JAVA2016.5.6
程式一
<html > | |
<head> | |
<title>加法運算器</title> | |
<script> | |
function add() { | |
var a = parseInt(document.getElementById('a').value); | |
var b = parseInt(document.getElementById('b').value); | |
document.getElementById('result').value = a+b ; | |
} | |
</script> | |
</head> | |
<body> | |
<input id="a" type="text" />+<input id="b" type="text" /> | |
<button onclick="add()" >=</button> | |
<output id="result"></output> | |
</body> | |
</html> |
- Apr 29 Fri 2016 16:14
JAVA2016.4.29
<html>
<head>
- Apr 22 Fri 2016 15:54
JAVA 2016.4.22
- Apr 15 Fri 2016 15:55
JAVA 2016.3.11
http://z58134g.blogspot.tw./
https://drive.google.com/folderview?id=0B961WZvILJrgb1g1M3JHQkxOZms&usp=sharing
- Apr 15 Fri 2016 15:52
JAVA 2016.4.15
隨著行動裝置的興起,智慧型手機(SmartPhone)成為人們生活中不可缺的東西
不論你是要聊天社交、查詢資料、玩遊戲、聽音樂
- Apr 15 Fri 2016 15:38
JAVA 2016.3.25
BMI
- Apr 15 Fri 2016 15:36
JAVA 2016.3.18
1.先開eclipse
2.
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "test";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
$sql = "SELECT * FROM `user`";
$result = $conn->query($sql);
if ($result != null) {
// output data of each row
while($row = $result->fetch_assoc()) {
echo "id: " . $row["name"]. $row["passwd"]. "<br>";
}
} else {
echo "0 results";
}
$conn->close();
?>