Forums

PHP

This topic is locked

required fields?

Posted 31 Jul 2001 16:13:30
1
has voted
31 Jul 2001 16:13:30 Keith Slater posted:
How do I make it so that fields arent required? If you submit it it will go to the next page and give me an error:
[Microsoft][ODBC Microsoft Access Driver] Field 'GALLERY_1.ARTIST_NAME' cannot be a zero-length string.

thanks

Keith Slater
Word Pro Systems
www.wordprosys.com

Replies

Replied 31 Jul 2001 16:26:22
31 Jul 2001 16:26:22 Tim Green replied:
This really should be taken into account when you design your database.

I suspect that you have specified 'Not Null' or (in Access) you have specified 'Allow Zero Length' as 'No'.

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 31 Jul 2001 16:27:55
31 Jul 2001 16:27:55 Keith Slater replied:
you're a genious

Keith Slater
Word Pro Systems
www.wordprosys.com
Replied 31 Jul 2001 16:31:59
31 Jul 2001 16:31:59 Tim Green replied:
Don't make me blush now ! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic