arildrei Posted January 21, 2018 Share Posted January 21, 2018 Any tips on how to avoid setting language each time i open the database: $link=mysql_connect("127.0.0.1","nobody",""); mysql_set_charset('utf8',$link); mysql_select_db("oscommerce"); Link to comment Share on other sites More sharing options...
MrPhil Posted January 21, 2018 Share Posted January 21, 2018 Where are you setting the "language"? Do you mean the character encoding (UTF-8)? Shouldn't you be able to go into phpMyAdmin and set it once (globally) to UTF-8? You may need to also go through all the tables and fields and reset them to UTF-8. Once that's done, you shouldn't have to reset the charset each time, although that really shouldn't be a tremendous burden if you still need to (but it's time to ask your host what's going on). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.