Prevent “NULL” appearing in cell with no data
-
Hello,
I have a table with a column where URLs will be shown – if there is a file associated with the specific record. If not, the cell should be empty. In phpmyAdmin, the cell is shown as Varchar(256), Null = Yes, Default = NULL. In the initial development version of the site, this functioned correctly – i.e. nothing at all shown in the cells where there is no associated file.
In the second development version of the site, the column is specified with the same settings, but the word “NULL” is always displayed when I view the data in WP Data Access “Data Explorer”. Can you advise how to prevent this – presumably a setting must be adjusted? the cell should be empty if there is no associated file.
Thanks in advance for your help.
Nigel
- The topic ‘Prevent “NULL” appearing in cell with no data’ is closed to new replies.