Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- having problem with IF ELSE to display content


Demaestro - 7:16 pm on Jul 12, 2010 (gmt 0)


hoom,

That stinks.

You can clean up your db like this:

update table_name set logo = '' where logo = ' ' or logo = 'NULL' or logo is NULL


This will make it an empty string if there is a space, or if it is Null or if it = 'NULL'


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4168600.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com