php - Tables are displayed horizontally instead of vertical -


I'm trying to create a table with PHP and HTML, which receives data from a MySQL database. The problem is that the data is not displayed horizontally and vertically

  if (isset ($ _ post ['winneron'])) echo. "& Lt; tr & gt;"; While ($ printuser = mysql_fetch_array ($ user)) {resonant "<<" $ Printu ['username'] "& lt; / th & gt;"; } Resonates "& lt; / tr & gt;"; While ($ printgames = mysql_fetch_array ($ game)) {if ($ printgames [ 'winner'] == $ printgames [ 'TEAM1']) {echo "& LT; td & gt; & lt; p & gt;". Stroppers ($ printages ['winners']) "<< p>  ; } Else {resonant " Stropper ($ printages ['winner']) "& lt; / td> gt;"; }}}  

Hope someone can help me.

If your performance you to put each piece of information in a table row is! & Lt want to be erect; tr & gt; & Lt; TD & gt; ... & lt; / TD & gt; & Lt; / TR & gt;

<> while ($ ausgabespiele = mysql_fetch_array ($ game)) {if ($ ausgabespiele [ 'fuse'] == $ ausgabespiele [ 'TEAM1']) {echo "of & lt East; TR & gt; & lt; TD & gt; & lt; p & gt; Strtupr ($ ausgabespiele [ 'sieger']) "& Lt; / p & gt; & lt; / td & gt; & lt; / tr & gt;"; } Else {resonant "<<< tr & gt; & lt; td> Stuttoper ($ ausgabespiele ['sieger']) "& lt; / td> gt; & lt; / tr & gt;"; }}

Comments