Posted by sam.s.kong on 09/27/36 11:37
Peter Fox wrote:
> >To summarize, my goals are:
> >1. Put db-related routines in one function (or class) to avoid
> >repeating same codes.
> >2. Avoid mistakes like forgetting mysql_free_result
> >3. You can improve the function later and it will affect everywhere.
> >4. Make db-accessing code simple. (Just throw an sql and get the
> >result)
>
> Use my code if you like. Amongst other things a database object and
> helper classes.
>
> <http://www.eminent.demon.co.uk/phplibrary.htm>
Thank you so much.
I'll try that.
Sam
Navigation:
[Reply to this message]
|