Posted by Peter Fox on 09/27/79 11:37
>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>
--
PETER FOX Not the same since the poster business went to the wall
peterfox@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Navigation:
[Reply to this message]
|