Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] empty rows (PostgreSQL)

On Fri, 11 Feb 2005, BABA Yoshihiko wrote:

> I agree that this question is basic, but is this post really 
> inappropriate?
> The question is indeed an interesting topic of web applications. When a 
> user input the data which is logically unacceptable, the system should 
> handle it at application and business levels. Javascript checking will 
> probably help the users enter the correct data, but PHP code should also 
> check and notify the user appropriately.

Or, if you believe like I do, this should be enforced by the database as 
well (or at the very least!) by declaring the column NOT NULL.

Otherwise you can have no confidence that the content of your database is 
Tod McQuillin

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links