FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Order of Echoed HTML Output
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Order of Echoed HTML Output [message #179562 is a reply to message #179561] Wed, 07 November 2012 19:32 Go to previous messageGo to previous message
Daniel Pitts is currently offline  Daniel Pitts
Messages: 68
Registered: May 2012
Karma:
Member
On 11/7/12 1:04 PM, bobgatski(at)gmail(dot)com wrote:
> I have this code in a simple php file ...
>
> $which_table_to_dump = "Publisher_Records";
> require ('table2html-i-withbuttons.php');
>
> echo "<br/>back from table2html-i-withbuttons.php<br/>";
>
> ... The file, table2html-i-withbuttons.php (an earlier version was called 'dumptable'), simply outputs, using echo, the right html table tags, and data from the table, to display the table (specified by the variable $which_table_to_dump.
>
> My confusion and problem is that the echo ("back from ...") appears in the browser window ABOVE the table!
>
> Can anyone explain why that is?
>
> Thanks, Bob
>
If a <table> isn't properly closed, then it all bets are off. You can
view-source to verify that your "back from" happens in the right place.
Then you simply have to fix the HTML in your table2html-i-withbuttons.php"
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem creating XML file
Next Topic: Analista Programador PHP
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 17:52:43 GMT 2024

Total time taken to generate the page: 0.04100 seconds