Jump to content

Cluless on a forced default entry


refiking

Recommended Posts

I want to write the code so that the `elem` field can't have a value of ''.  By default, it automatically places Unknown there.  How can I do that?  I've tried to set the field to NULL and Unknown as default.  Shouldn't that change the records currently in the db, or will I have to do that manually?

Link to comment
https://forums.phpfreaks.com/topic/159485-cluless-on-a-forced-default-entry/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.