I don't understand why the content of the table is displayed without carriage return. I've been looking for a solution for 5 days without any result please help me my project is delayed and I will be fired soon! Many thanks Thierry

    Thierry,

    This is not how HTML works.

    Although I don't have enough information, you might have to put <br/> into the output HTML? Or changing your style to properly break lines on new-lines (https://stackoverflow.com/a/39325471/601646)

    Please see the following for more information; we might not be able to help you here:

    https://stackoverflow.com/questions/21373478/n-vs-php-eol-vs-br
    https://stackoverflow.com/questions/24026250/the-difference-between-n-and-br-in-php
    https://stackoverflow.com/questions/39325414/line-break-in-html-with-n

      Hello, I really appreciate your help but there is no HTML code in the page just a php code under visual studio 2022.

        echo '<pre>';
        var_dump($harry);
        echo '</pre>';

          Really thanks for your answer it makes better the result but nor perfectly as you can see it on the picture
          usualy we had such result:
          object(personnage)#2 (3) {
          ["vie"]=> int(80)
          ["atk"]=> int(20)
          ["nom"]=> string(5) "Harry"
          }
          with sql query and table we've got a serious problem at display!

            echo '<pre>';
            var_export($harry, true);
            echo '</pre>';

              Hi, thank you very much you have given me a way out! Just take a look at the attached picture, you are going to see that I
              had to perfect the code you sent me. Thank you very very I appreciate very much. Thierry

                Write a Reply...