Hello,
[php]
$table = “j6l4b_postinstall_messages”;
$result = $mysqlibag->query(“SHOW COLUMNS FROM $table”);
$i
while ($row = $result->fetch_assoc()) {
if($row[‘Null’] == “YES”){
$null_array[$i] = $row[‘Null’];
$i++;
}
}
[/php]
Output:
Array
(
[9] => YES
[10] => YES
[11] => YES
[12] => YES
)
However, only rows 11 and 12 are NULL
9th and 10th lines are blank but not NULL
How can I get only NULLs?
Line 11 and 12, only “DEFAULT NULL”
Thanks