Do you wanna know how to make it youself? (Thats how i think you meant).
Then i suggest you eaither head over to

and learn the fundementals of PHP so you get the basics like declaring a variable and what not.
However i dont think they cover database usage so if i was in your shoes i navigate my self to PHP.net and search for the various problems i stumble upon, there you will find syntax for how to do it, you will be able to see what methods take what parameters, and learn from there.
Or you can break my heart with saying that you wanted some1 to spoonfeed you.