jbroder - 11:30 pm on Mar 28, 2011 (gmt 0)
Somebody has done this for you already! Just google "php/mysql tutorial"
Once you find the tutorial you like, then walk through setting everything up exactly the way the tutorial author explains. Then after that you will have enough info to start doing your own thing and WebmasterWorld can help you with specific questions.