MySQL Forums
Forum List  »  PHP

Help with hebrew table
Posted by: Netanel Vaknin
Date: May 26, 2019 02:55PM

Hi guys,
I'm trying to send some data to a php script which is purpose is inserting data to MySQL database.
The problem is when I send the data via POST method the data inserted in gibberish.
Example:
יאיר ודליה שש×

The things I tried to do:
1. Change the collation of DB to utf8_general_ci
2. Change the collation of table to utf8_general_ci
3. Add this line to the top of my PHP script:
header('Content-Type: text/html; charset=utf-8');


I will appreciate your help.
Thank you!

Options: ReplyQuote


Subject
Written By
Posted
Help with hebrew table
May 26, 2019 02:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.