Jump to content

character issue with SQL


builders

Recommended Posts

Hi i am new to this forum and general to php too.

 

I would like to ask something about a form i created at php. I have the data of the form be saved at a database. The problem is with Greek chars when someone put in that then at sql ι have something like this "ΚώσÏ"

 

I tried this at the header of my index.php

 

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

and this <form accept-charset="utf-8" ... >

 

But nothing

 

What should i do in order the data to be saved in sql utf-8 ?

 

Thanks

 

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/256131-character-issue-with-sql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.