Re: Newbies Code: Please critique
Mo wrote:
> This is the first project I've completedfront to back (thanks to all
> the in this group).
> It's a pretty simple report, and this version is my summary version.
>
> I'm pretty excited about it, but am sure that there is much room for
> improvement.
> I'm looking for some constructive criticism so that I can grow and
> learn more effectively.
I think mixing database interaction, php logic and html makes your code
hard to read and hell to maintain. Try seperating those three by using
functions (and later classes) and templates.
I guess the 3 queries could have been done with one query wich would
save lotsa time and make the code cleaner.
Arjen
|