How can I assign the record set queried by the database to the table query database and return the record set? but how can I display the returned record set in the table? Html, php, and javascript can be implemented. it is best to describe the details with sample code. ------ Solution ------------------ & lt; table & nbsp; & gt; & lt; t how to assign the record set queried by the database to the table
Query the database and return the record set. but how can I display the returned record set in a table? Html, php, and javascript can be implemented. it is best to describe the details with sample code.
------ Solution --------------------
Reference:
If I have created a table first, the query results are assigned to the table dynamically. some cells in the table do not have the data to be queried. Therefore, we need to assign values to these cells, how can this change be done?
Name |
Gender |
ID card |
Shipping Address |
Contact number |
Expected quota |
Apply for bank |
Application time |
Delete row |
While ($ row = mysql_fetch_array ($ result )){?>
|
|
|
|
|
|
|
|
'"> Delete |
}?>------ Solution --------------------Add a judgment. $ row ['idnum'] = empty ($ row ['idnum'])? & Quot; 00.0000 & quot;: $ row ['idnum'];