<html>
  <head>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript">
    google.charts.load('current', {'packages':['corechart']});
      google.charts.setOnLoadCallback(drawChart);

 var a ;
 var b ;
 var c ;
function add() {
a=0;
b=0;
c=0;
var radio1=document.getElementsByName("v1");
var radio2=document.getElementsByName("v2");
var radio3=document.getElementsByName("v3");
var radio4=document.getElementsByName("v4");
var radio5=document.getElementsByName("v5");
var radio6=document.getElementsByName("v6");
var radio7=document.getElementsByName("v7");
var radio8=document.getElementsByName("v8");
var radio9=document.getElementsByName("v9");
var radio10=document.getElementsByName("v10");

t122717094 發表在 痞客邦 留言(0) 人氣()

<html>
  <head>
    <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
    <script type="text/javascript">
    google.charts.load('current', {'packages':['corechart']});
      google.charts.setOnLoadCallback(drawChart);

 var a ;
 var b ;
 var c ;
function add() {
a=0;
b=0;
c=0;
var radio1=document.getElementsByName("v1");
var radio2=document.getElementsByName("v2");
var radio3=document.getElementsByName("v3");
 for(var i=0;i<radio1.length;i++){
     if(radio1.item(i).checked==true)        {
       i=i+1;
       alert(i);

t122717094 發表在 痞客邦 留言(0) 人氣()

<!DOCTYPE html >
<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>

 

t122717094 發表在 痞客邦 留言(0) 人氣()

文字檔改HTML格式

t122717094 發表在 痞客邦 留言(0) 人氣()

安裝阿帕契  並執行且架設網站

t122717094 發表在 痞客邦 留言(0) 人氣()

下載程式

更新好所有的檔案

t122717094 發表在 痞客邦 留言(0) 人氣()

安裝Android Studio 開發工具

根據自己系統下載

 

t122717094 發表在 痞客邦 留言(0) 人氣()

<?php
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "contact";

// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
} 

$sql = "SELECT name, phone, mobile FROM contact";
$result = $conn->query($sql);

if ($result != null) {
    // output data of each row
    while($row = $result->fetch_assoc()) {
        echo "Name: " . $row["name"]. " - Phone: " . $row["phone"]. " " . $row["mobile"]. "<br>";
    }
} else {
    echo "0 results";
}
$conn->close();
?>

 

t122717094 發表在 痞客邦 留言(0) 人氣()

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.OleDb;
using System.IO;

t122717094 發表在 痞客邦 留言(0) 人氣()

下載

下載

t122717094 發表在 痞客邦 留言(0) 人氣()

1 23