ClioSport.net

Register a free account today to become a member!
Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • When you purchase through links on our site, we may earn an affiliate commission. Read more here.

PHP Form - My 'ECHO' isn't rendering the HTML properly?



mas

  MK7 GTD & Mini GP
Hi,

Bit of a strange one.

I have a form which uses a simple PHP script to send data to my email address. Now, when the person clicks 'submit' they get directed to a new HTML/CSS page using the ECHO which tells them the message has been sent.

It directs to the page fine after clicking submit, but it does not render it properly in Internet Explorer... it works fine in Mozilla, Chrome etc...?! Rather than being centered, it just sits to the left!

Any ideas?
 
Got a link, or the code you're using?

But as above, IE is a nightmare. What version of IE are you testing on?

What are you using to hold the text?

<div>
<p>

?
 

mas

  MK7 GTD & Mini GP
Hi Bud,

Yeah IE is a killer.

I am using Divs/CSS to display it.

TBH, rather than using an ECHO and longer script. I might just use

header("Location: SUCCESSPAGE.html");

I assume that might be more reliable too!
 
Header would work.

I'm not sure what the fault is, but IE needs spoon feeding, where as the other browsers can work it out.

Make sure the DIV tags have align="center" if it's only the layout that's playing up.

Got a link to the code that's the issue?
 

mas

  MK7 GTD & Mini GP
Sorted it CJ.

I used a header re-direct and that does the job just as good.

Thanks for your help brother.
 


Top