First select the library test1,01.php and then use show tables, query out all the tables, then use the loop to output all the table names, and manipulate the hyperlinks, Hyperlinks on the table should be the information to 02.php,02.php, according to the parameters received, query to the table, and then use the DESC table name, the result Loop output table field name, and then query out all the fields of the output corresponding value, followed by the operation of hyperlinks, the data stored in the row, Uploading to 03.php.03.php can change
01.php
<?php$conn=mysql_connect ("localhost", "root", "111111"), mysql_query ("Set names UTF8", $conn);//Set Encoding mysql_query (" Use Test1 ");//Select Library $sql=" Show Tables "; $rs =mysql_query ($sql, $conn);? ><!doctype html>02.php
<?php$conn=mysql_connect ("localhost", "root", "111111"), mysql_query ("Set names UTF8", $conn);//Set Encoding mysql_query (" Use Test1 ");//Select Library $table=$_get[' table '];//receive data addslashes ($table); $sql =" select * from ". $table; $rs =mysql_query ($sql, $ conn); $sql = "desc". $table; $ziduan =mysql_query ($sql, $conn);? ><!doctype html>03.php
Pending
Paging Operations Database