Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7651185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:26:37+00:00 2026-05-31T11:26:37+00:00

I have a define.php page that has many variables in it. I use to

  • 0

I have a define.php page that has many variables in it. I use to include in any other PHP file I make.

There is a variable named $encodingdeclaration which has <meta http-equiv="Content-Type" content="text/html; charset=utf-8">.

The script now is becoming unresponsive: that because of an extra semicolon used after text/html, What to do?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T11:26:39+00:00Added an answer on May 31, 2026 at 11:26 am

    meta http-equiv should be moved to .htaccess file
    Adding it inline the way you do will cause html validating to fail.

    If its a html5 page, simply add the below before your [title] tag

    <meta charset="UTF-8" />
    

    Also use double quotes for strings such as these.

    $encodingdeclaration = "<meta charset=\"UTF-8\" />";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a file that defines constant variables, like this: define_vars.php <? define(something,value); define(something1,value);
I have a html page that calls a php object to get some data
I have an HTML page (PHP, really) with a table cell that contains a
I have a Drupal website that has a page at the URL alias of
I have a simple PHP page that is going to be used to post
In my .htaccess file I have defined following rule, RewriteRule t/([^.]+)/$ /videos/tag.php?tag=$1 [QSA] The
I have a define: hashdefine kPingServerToSeeIfInternetIsOn http://10.0.0.8 then in code I with to use
I have a variable define as: set filePath=.\file.txt I'm writing a windows batch file.
In PHP I'm running a mysql_query that has an ORDER BY clause. I'm then
I am designing webpage using jquery and php. My page has side menu, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.