I was kidding offcourse when I said it'd take you a day. Personally, it did take me a day or two but I don't know how long it will take you.
TangForce just told you what you should do - Follow that advice. Grow some balls.
Use php.net (the best) and W3schools.
You might also consider investing in a book or ebook. If you don't mind pirating, there are lots of torrents of programming books for PHP and mySQL. Go with those for O'Reilly - They are easy to follow and don't just jump into something new like a lot of other written by people who forget in the heat of writing that they are writing to noobs.