I have an integer field in a MYSQL db table :
(...
dates_from int(11) NOT NULL default '0',
dates_to int(11) default NULL,
...)
It is supposed to represent the dates an artist was active from and to. Some are still active so wanted to allow a null entry for dates_to.
As part of a CMS, I have an data entry form. If I leave the above field blank and then try to view it it shows a '0' instead of a blank. Does anyone know a way round this (apart from using a using a function to replace the '0') ??
Any help would be great.
F.