If someone could help me with this problem I would really appreciate it. I'm working on a website in which firefox will display the paypal buy now button, but internet explorer will not. I copied and pasted the html document in the validator and I'm still getting a lot of errors due to the php code that is involved. There were several times when it said there was a missing closing tag so I went through the entire code and made sure every tag had a closing tag but still the buy now button won't appear in internet explorer. Any advice?
1) It keeps the tag together and easier to read
2) Limits the number of echo statements you have to write.
3) Prevents the possibility that things like carriage returns or line breaks are inserted in a string that probably shouldn't be there.
4) Helps prevent the possibility that at some point your if statement may print something it shouldn't and break up the format of your HTML tag.
Not saying this is the cause of your issue, but IE might be seeing your HTML tag as incomplete if it sees a line break or something in the link for your button. Firefox may accept it, but IE might be finicky.
To help further you might want to put it on the web somewhere and give us the URL so we can actually see the problem in action.
This post has been edited by Martyr2: 17 April 2012 - 12:34 PM
thank you for the kind response. You can see the page at http://auntievics.com/checkOut.php Unfortunately you will need to fill out the form and press submit before you will see the paypal button. I had to do this because some of the information had to go in the database before going to Paypal.
Make sure you also specify a height and width for the image. You have width="" and height="". Either leave them out altogether or specify the values. IE apparently has an issue with them being put in and set to empty strings.