Hi,
Let's say I have two tables. Let's call them Main & Author.
Main has 2 fields:
Main_ID (primary key, autoincrement, int(11) )
Author_ID (int(11) )
Author has two fields:
Author_ID
(primary key, autoincrement, int(11) )
Author Name (varchar(100) )
Now let's say I have a function that wants to clear the Author_ID in my table Main.
In this function I assign value 0 to Author_ID. Is this the right way to do? What would be an other way of doing this?