[eluser]3m masr[/eluser]
hi everyone , ..
i am developing a shopping cart in arabic using codeigniter and i can't insert arabic text into the db it is inserted as ???? ???? ???? i tried to alter the database ussing
Code:
ALTER DATABASE metcart COLLATE latin1_swedish_ci;
and then i changed the
Code:
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "latin1_swedish_ci";
and i sent the header
Code:
header('Content-Type: text/html; charset=utf-8');
in index.php file but it still appear as ???? ??? ??
text is also ?????? like that in the db itself .