Thank you all for the advice, the tea example was just that an example. Ngreenwood6 I appreciate your comments that does help quite a bit and will help to put me on the right track.
As far as effort... well I have read a few books, taken some video courses but all of them just go over the functions etc. of PHP they do not have you apply that to any type of example. I do get stuck when I wish to write code from a plan I have wrote up. In any case when I get something going I'll post it up for suggestions and improvement.
Also, I can raw code HTML without a problem, taught myself quite awhile ago so I'm not ... hum how do I say this, expecting anyone to write my code.
As to what I'm doing, I want to improve on a script I have adding some new items to it. I do not wish to go into detail at this time of what this code is but again thank you for your responses.