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 #179563 is a reply to message #179561] Wed, 07 November 2012 20:38 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
On 07/11/12 18:04, 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?
>

cos your HTML is corrupt. Always view source as a first thing.

> Thanks, Bob
>


--
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
[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:56:13 GMT 2024

Total time taken to generate the page: 0.04092 seconds