如何在php数组中将空值转换为空字符串?
我想转换这个数组,Array[4]不应该给空值,它可以给空白(空字符串)。
Array (
[0] => 1
[1] => 4
[2] => 0
[3] => V
[4] =>
[5] => N
);
(更改的原因,与一般问题无关)
Fatal error: Uncaught exception
'PDOException' with message 'Database
error [23000]: Column 'message' cannot
be null, driver error code is 1048' in