Brian,
You'll save yourself time and frustration if you go out and get that book I recommended in a previous post:
PHP and MySql Web Development
Welling and Thomson
You have to start from a basic foundation and it's best if you spend some time to educate yourself.
Use this forum when you run into problems. Your question is a basic one asked by many on this forum that gathers little interest after some point in time when the original thread heads into many different directions.
Hope this makes sense.