What you really need to do is learn Database Normalization and then fix your database or you will forever be hacking your way through the application.
The Database is the foundation of all the code you will ever write against it. If the Database is wrong then all the code you write to interact with it will be “wrong”.