Php basic solution. please wait. This is a small girl !!! There are two input boxes. if you enter 5 or 3, a table with 5 rows and 3 columns is displayed on the other interface, provided that the function is used to implement this function. OK ??? & Nbsp; ------ solution ------------------ & lt; input & nbsp; typetext & nbsp; name php basic solution. please wait. This is a small girl !!!
There are two input boxes. if you enter 5 or 3, a table with 5 rows and 3 columns is displayed on the other interface, provided that the function is used to implement this function. OK ???
------ Solution --------------------
// You can add the submitted path.
$ A = $ _ POST ['A'];
$ B = $ _ POST ['B'];
Function table ($ a, $ B ){
Echo"
";For ($ I = 0; $ I <$ a; $ I ++ ){Echo"
";For ($ j = 0; $ j <$ B; $ j ++ ){Echo"
". $ J ." | ";}Echo"
";}Echo"
";
}
Table (7,5 );
------ Solution --------------------
I guess the landlord wants to implement JS.