display data from database into html table

后端 未结 2 1188
庸人自扰
庸人自扰 2021-01-17 06:01

I\'m trying to display data from database into a table in html. here is my code:

php code:

if($_SERVER[\'REQUEST_METHOD\'] ==\'POST\')
{   
 $type_u         


        
2条回答
  •  北荒
    北荒 (楼主)
    2021-01-17 06:38

    Here is the solution total html with php and database connections

       
        
        
          
          database connections
        
        
          
          \n";
              }
            ?>
          
    Employee_id Employee_Name Employee_dob Employee_Adress Employee_dept Employee_salary
    {$row\['employee_id'\]} {$row\['employee_name'\]} {$row\['employee_dob'\]} {$row\['employee_addr'\]} {$row\['employee_dept'\]} {$row\['employee_sal'\]}

    Source: retrieve data from db and display it in table in php .. see this code whats wrong with it?

提交回复
热议问题