Can you provide us with information on your database.  Tables, Fields, etc.  Without some knowledge of how your database is set up, I don't think any one can provide you with a good response.  After all, we don't have crystal balls.  The moderators took them all away and we have to deal with...