How do I fix this error?

Text on my site has been changed to symbol
[ۆ تاقی کردنوە نوسراوە بۆ تاقی or ???

<?php ob_start();

$conn=mysqli_connect("localhost","root","","shopping");

//mysqli_set_charset($conn,"utf8");

?>

Try creating a new PHP file and copy the contents from the corrupt file…

Or find a good PHP file, copy to a new file, delete contents and paste content from corrupt file.

Search for “BOM” file corruption.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.