[PHP-DB] Re: NULL and empty space

2004-08-22 Thread Daniel Schierbeck
Craig Hoffman wrote: I have an form where someone can choose to upload a photo. If the person does not upload a photo, an emtpy string is inserted in the DB. How can I have it insert 'NULL' in the DB instead of an empty string when they choose NOT to upload a photo but complete the form anyway?

Re: [PHP-DB] Re: NULL and empty space

2004-08-22 Thread Craig Hoffman
I've tried that and thanks. Bad news is I still can't get it to work. Its always the simple things that causes problems. Any other suggestions? On Aug 22, 2004, at 10:41 AM, Daniel Schierbeck wrote: Craig Hoffman wrote: I have an form where someone can choose to upload a photo. If the person