Output sql query into html table

前端 未结 5 539
旧时难觅i
旧时难觅i 2021-01-16 04:52

I\'m trying to place the output of this PHP SQL query into a database table, but it is outputting all of the row data into one column.

if(isset($_POST[\'subm         


        
5条回答
  •  情话喂你
    2021-01-16 04:56

    while ($row = mysql_fetch_row($result)) {
    echo '';
    foreach ($row as $value)
    {
      echo "".$value."";
    }
    echo "";
    }
    

提交回复
热议问题