Why are there all these question marks on my page?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
KostaKondra
Forum Newbie
Posts: 16
Joined: Thu Nov 19, 2009 8:26 am

Why are there all these question marks on my page?

Post by KostaKondra »

Check it out:
http://www.headstudios.com.au

It has something to do with the include("whatever.html") function doesn't it?

Why does PHP make it so difficult?

Can someone explain to me how to fix it?

Regards
PS. By the way if you're not sure what I mean just look at the content
�Video Production Company offers 1001% satisfaction guarantee and even pays you $50 if you�re not satisfied!�
What the hell!!??
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Why are there all these question marks on my page?

Post by requinix »

Nothing to do with PHP. Don't blame it for your shortcomings.

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
You're telling the browser to display the webpage as UTF-8 but it's really ISO-8859-1. When Firefox finds characters that don't make sense it displays that <?> symbol.
KostaKondra
Forum Newbie
Posts: 16
Joined: Thu Nov 19, 2009 8:26 am

Re: Why are there all these question marks on my page?

Post by KostaKondra »

tasairis wrote:Nothing to do with PHP. Don't blame it for your shortcomings.

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
You're telling the browser to display the webpage as UTF-8 but it's really ISO-8859-1. When Firefox finds characters that don't make sense it displays that <?> symbol.
It works!!! You're a genius!!! THank you so much. I pledge my life to you to do as you see fit.
Post Reply