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 8316315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T21:20:03+00:00 2026-06-08T21:20:03+00:00

i created a table named ‘items’ with collation of utf-8_bin and when i went

  • 0

i created a table named ‘items’ with collation of utf-8_bin and when i went on inserting data, i inserted it in devnagari, for nepali, it all went good and when it came to displaying records, all the devnagari fonts will display as question marks like if i have written निश्चल then it would show up as ??????? but it shows correctly in phpmyadmin, i have already declared to use utf-8 on my page also, here is the header section of my page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta charset="utf-8" />
</head>
<?php
$sql="SELECT * FROM `swyamsewika`.`items`";
mysql_connect("localhost","root","");
$query=mysql_query($sql);
$a=mysql_fetch_array($query);
var_dump($a);
?>

if i type निश्चल in the page then it shows correctly. when i type in database and then retrieve using php, then it gets into ????? please help me as soon as possible…

  • 1 1 Answer
  • 0 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-06-08T21:20:06+00:00Added an answer on June 8, 2026 at 9:20 pm

    may set in my.ini(mysql)

    character-set-server = utf8 
    
    init-connect = "set names utf8"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a database named Tamaris, which contains a table User. I created a
i have created a table named Ord in SQlite and the schema is :
I created a table named resources but when I insert values in it, this
I have created a Table Layout named table and I am trying to add
I created a table named dept in sqlite manually that has username (as Varchar)
I want to add a class named table to the table that is created
I created a new table named Rate for rating posts from my Posts table.
I created a User defined table type named tvp_Shipment with two columns (id and
I created a table named order . (Yes, bad choice I see). If I
I have created a single catalog named EntryCatalog. I assigned a table named Entry

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.