Problems in inserting utf-8 string into database and then outputting it to web page

MillKevebex

New Member
I am learning PHP programming, so I have setup testing database and try to do various things with it. So situation is like that:Database collation is utf8_general_ci.There is table "books" created by query\[code\]create table books( isbn char(13) not null primary key, author char(50), title char(100), price float(4,2));\[/code\]Then it is filled with some sample data - note that text entries are in russian. This query is saved as utf-8 without BOM .sql and executed.\[code\]insert into books values ("5-8459-0046-8", "
 
Back
Top