乘法表.php

 
  
html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Documenttitle>
    <style>
        td{
            border: 3px solid deeppink;
        }
    style>
head>
<body>
    echo "";

    for($i = 1; $i <= 9 ; $i++){
        echo "";
        for($j = 1; $j <= $i ; $j++) {
            echo "";
        }
        echo "";
    }

    echo "
"; echo $j."*".$i."=".($i * $j); echo "
"
; ?> body> html>

你可能感兴趣的:(php)