please help me out by giving a very easy code

I'm confused with this question.I dont think that it is very good. But however in my experience with web development, If you want to make a solid Website running a good database php and MySql is the way to go.