PHP echo displays in wrong place

Dell / Dimension 2350
February 6, 2009 at 13:40:29
Specs: w xp home, 2 gig celeron, 256 M
Click "submit" without filling in any fields and you get a
warning echo. The first page below displays the "warning
text" where I want it, at the top of the rightcontent div.
The second page displays it at the top of the page, above
the header. I'd like the 2nd page to display the warning
where the 1st page does, BELOW the header and menu
bar. You'll probably need more in put from me, let me

ps-you don't need to fill out the form to help with this
problem. please respect my client's privacy. thank you.

See More: PHP echo displays in wrong place

Report •

February 6, 2009 at 13:43:17
For some reason, the first link broke, trying again:
(good display)

(bad display)

Report •

February 6, 2009 at 23:23:45
so...move div.cen into div#rightcontent ?

I think you could do it in jquery as:
$('div#rightcontent').prepend( $('div.cen).html() );

Report •

February 8, 2009 at 09:40:28
I'm not familiar with "jquery".
Is that Javascript or PHP? Where would you recommend this
line of code get put?

Report •

Related Solutions

Ask Question