Sql Show Horizontal Php Table Vertically With Php Query Stack Overflow

Sql Show Horizontal Php Table Vertically With Php Query Stack Overflow My php table looks like this. this is my expected output of the table using php queries. i have tried using this code. die ('sql error: ' . mysqli error($connection)); $kriterium = '

Sql Show Horizontal Php Table Vertically With Php Query Stack Overflow The following code is showing my result horizontally and i want to show them vertically $id = $ get ['id']; $sql = "select * from users where id = $id"; $result = $conn >query ($sql); if ($result >num rows > 0) { echo "
id< th> <. I want to display vertical values of the field , horizontally in html table. my table structure is like. i want to join these table and want to display query result horizontally like. id area a area b area c a b can anyone help me? is this possible ? $res = mysqli query($con, $sql); while($row = mysqli fetch object($res)) { ?> |
---|
Comments are closed.