The problem of error reporting when php connects to mysql

error message

clipboard.png


clipboard.png

Mar.24,2021

has been resolved because the version of mysqli statement after php5 needs to keep up with the database
mysqli_set_charset ($link,'utf8');


mysqli_set_charset requires two parameters, but you write one

mysqli_set_charset('utf-8');
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37d75-2c0aa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37d75-2c0aa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?