Php's question about table data retrieval is worth mentioning & lt ;? Php & nbsp; include & nbsp; connect. php; & nbsp; $ sqlSELECT & nbsp; * & nbsp; FROM & nbsp; 'rwgl '. 'rwb '; & nbsp; & nbs php about table data retrieval
Include 'connect. php ';
$ SQL = "SELECT * FROM 'rwgl '. 'rwb '";
Mysql_select_db ($ mysql_database, $ conn );
$ Query = mysql_query ($ SQL, $ conn) or die ("error ");
While ($ row = mysql_fetch_array ($ query )){
$ I ++;
?>
}
?>
Mysql_close ($ conn );
?>
The result is:
1 aa bb 100 0
1 cc dd 2013-04-19 2013-05-01 100 0
1 ee ff 100 0
1 gg jj 100 0
What should I do if I want to click the second column of any row and query the data containing the values of the first and second columns of the row in the database? What should I do if I need to name the label box or ID?
PHP MySQL database
------ Solution --------------------
To generate the second column Change
">