php IE problem

Status
Not open for further replies.

LotsOfZeros

^^^ Bi-Winning ^^^
Feb 9, 2008
4,648
118
0
www.makemoniesonline.com
OK, I know it's server side and all but why would my html show up in Firefox but when I open the page up in IE I get nothing but white empty space? I know it's sending the html to the browser because it's all there when I go to view-source.

Is it some setting within IE? I'm not doing anything spectacular in php, just query a database into an array and displaying the data in a simple table. I'm not using hardly any graphics either.

my page declaration:
charset=iso-8859-1

totally dumbfounded here
 


What do you see in IE browser when you do "view source.." ??

Maybe the output - MIME TYPE is not written right in the PHP script, but firefox just flow with the data and shows you it.
 
I had this:

Code:
<meta http-equiv="Content-Type" content="text/html: charset=iso-8859-1">

and changed it to this:

Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

is there a difference really?
 
I just learned to try different validators.
I ran it through The W3C Markup Validation Service and everything looked good. Then tried WDG HTML Validator and it said I didn't have a valid closing title tag (mine was <title>my page title<title>).

Not sure if that was it or the charset declaration but my page is viewable now. Which one do you think did it?

No Shady, I didn't have any CSS or JS at all. It's very basic and simple looking. This is just an internal database I have created we are using to track a project I am managing for a client.
 
I just learned to try different validators.
I ran it through The W3C Markup Validation Service and everything looked good. Then tried WDG HTML Validator and it said I didn't have a valid closing title tag (mine was <title>my page title<title>).

Not sure if that was it or the charset declaration but my page is viewable now. Which one do you think did it?

No Shady, I didn't have any CSS or JS at all. It's very basic and simple looking. This is just an internal database I have created we are using to track a project I am managing for a client.
I'm betting the title tag was it. Since anything within <title></title> doesnt display on the actual page.
 
if you have doc set to strict then yeah it was most likely the title tag. If it was set to transitional and was not xhtml then it would have not been so picky with the closing tags. Strict is the better way to do it anyway, helps you keep disciplined now to save from having problems down the line.
 
Status
Not open for further replies.